Script creating new VMs #252

Merged
raucao merged 16 commits from feature/244-new_vm_script into master 2020-12-09 15:33:08 +00:00
Showing only changes of commit a92205bd65 - Show all commits

View File

@ -55,7 +55,9 @@ runcmd:
# Enable serial console (for virsh)
- systemctl enable serial-getty@ttyS0.service && systemctl start serial-getty@ttyS0.service
- curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import
- if z=\$(curl -s 'https://install.zerotier.com/' | gpg"); then echo "$z" | sudo bash; fi
- curl -s -o /tmp/install_zerotier 'https://install.zerotier.com/'
- cat /tmp/install_zerotier | gpg && bash /tmp/install_zerotier
- zerotier-cli join 12ac4a1e719d706e
EOS
cat > meta-data <<-EOS