- Make sure the version of IOx is 1.2.0.0 or later, which is latest IOx version in CCO.
1, Install the PaaS style application/LXC as usual
"ioxclient app install test out/test.tar”
2, when activate the application in IOx, please use to set the static IP address.
"ioxclient app activate --payload network.json javatest”
3, Then start the Paas Style Application via ioxclient and check the result
" ioxclient app start test”
" ioxclient app con test”
The sample of network.json is as follows, please make sure to set the value of “ip”, "prefix", “gateway” and “dns” by your address.
{
"resources": {
"profile": "c1.small",
"network": [{
"interface-name": "eth0",
"network-name": "iox-bridge0",
"mode": "static",
"ipv4": {
"ip": "192.168.100.20",
"prefix": "24",
"gateway": "192.168.100.1",
"dns": "192.168.100.1",
"default": true
}
}]
}
}