Created
November 25, 2014 03:10
-
-
Save termie/37e542231d46ed24bda2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ensure that etcd is starting fresh | |
config.vm.provision :shell, :inline => "systemctl stop etcd" | |
config.vm.provision :shell, :inline => "rm -rf /var/lib/etcd/*", :privileged => true | |
$script = <<SCRIPT | |
for x in $(cat /etc/environment); do | |
export $x | |
done | |
coreos-cloudinit --from-file /var/lib/coreos-vagrant/vagrantfile-user-data | |
SCRIPT | |
config.vm.provision :shell, :inline => $script, :privileged => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment