diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-04-21 17:02:54 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-04-21 17:02:54 -0400 |
commit | 1c9c670d1184c667efa5ea4b34e91bf047e4a8fd (patch) | |
tree | cd3d2701333cbbc159d5c9ab8be5e889b4dc1698 /sysvinit/redhat/cloud-init-local | |
parent | cc7a3381b41d820853236f1b9a7d80e0f34eb084 (diff) | |
parent | 5dcb0669e85fbd933d1f98602932a6e253bab7c9 (diff) | |
download | vyos-cloud-init-1c9c670d1184c667efa5ea4b34e91bf047e4a8fd.tar.gz vyos-cloud-init-1c9c670d1184c667efa5ea4b34e91bf047e4a8fd.zip |
sysvinit: make cloud-init-local run before networking is brought up
While booting a VM from a snapshot image, network service use to find the
residual network config scripts and use to configure the old IPs.
cloud-init-local use to run later and populate the config scripts with latest
information, which does not override the previous configuration.
To solve this, we are ensuring that cloud-init-local runs before network.
LP: #1275098
Diffstat (limited to 'sysvinit/redhat/cloud-init-local')
-rwxr-xr-x | sysvinit/redhat/cloud-init-local | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysvinit/redhat/cloud-init-local b/sysvinit/redhat/cloud-init-local index b53e0db2..b9caedbd 100755 --- a/sysvinit/redhat/cloud-init-local +++ b/sysvinit/redhat/cloud-init-local @@ -23,9 +23,12 @@ # See: http://www.novell.com/coolsolutions/feature/15380.html # Also based on dhcpd in RHEL (for comparison) +# Bring this up before network, S10 +#chkconfig: 2345 09 91 + ### BEGIN INIT INFO # Provides: cloud-init-local -# Required-Start: $local_fs $remote_fs +# Required-Start: $local_fs # Should-Start: $time # Required-Stop: # Should-Stop: |