Join new zerotier network on VM creation

This commit is contained in:
Basti 2020-12-11 18:44:41 +01:00
parent 396fe6e714
commit fb996e9abf
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -57,7 +57,7 @@ runcmd:
- curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import - curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import
- curl -s -o /tmp/install_zerotier 'https://install.zerotier.com/' - curl -s -o /tmp/install_zerotier 'https://install.zerotier.com/'
- cat /tmp/install_zerotier | gpg && bash /tmp/install_zerotier - cat /tmp/install_zerotier | gpg && bash /tmp/install_zerotier
- zerotier-cli join 12ac4a1e719d706e - zerotier-cli join 8541e5153eb4327c
EOS EOS
cat > meta-data <<-EOS cat > meta-data <<-EOS