Remove cloud-init details
If we have booted with cloud-init, then this status directory is populated. Remove it so when we boot snapshot images, they behave as if on a fresh system. Change-Id: Idc9ce01290b659e3239d30be847221447a8e5e84
This commit is contained in:
parent
a9444cdad8
commit
877d93bb84
@ -182,6 +182,9 @@ datasource_list: [ ConfigDrive, None ]
|
||||
EOF
|
||||
fi
|
||||
|
||||
# reset cloud-init
|
||||
sudo rm -rf /var/lib/cloud/instances
|
||||
|
||||
sudo bash -c "echo 'include: /etc/unbound/forwarding.conf' >> /etc/unbound/unbound.conf"
|
||||
if [ -e /etc/init.d/unbound ] ; then
|
||||
sudo /etc/init.d/unbound restart
|
||||
|
Loading…
Reference in New Issue
Block a user