mirror of
https://github.com/rancher/os.git
synced 2025-08-02 07:24:28 +00:00
Run cloud-init after networking
This commit is contained in:
parent
f6b2c8489f
commit
db94dfa2d1
@ -69,6 +69,14 @@ func NewConfig() *Config {
|
||||
"-v=/lib/modules:/lib/modules:ro " +
|
||||
"udev",
|
||||
},
|
||||
{
|
||||
Id: "network",
|
||||
Cmd: "--name=network " +
|
||||
"--cap-add=NET_ADMIN " +
|
||||
"--net=host " +
|
||||
"--rm " +
|
||||
"network",
|
||||
},
|
||||
{
|
||||
Id: "cloud-init",
|
||||
Cmd: "--name=cloud-init " +
|
||||
@ -80,14 +88,6 @@ func NewConfig() *Config {
|
||||
"cloudinit",
|
||||
ReloadConfig: true,
|
||||
},
|
||||
{
|
||||
Id: "network",
|
||||
Cmd: "--name=network " +
|
||||
"--cap-add=NET_ADMIN " +
|
||||
"--net=host " +
|
||||
"--rm " +
|
||||
"network",
|
||||
},
|
||||
{
|
||||
Id: "ntp",
|
||||
Cmd: "--name=ntp " +
|
||||
|
Loading…
Reference in New Issue
Block a user