16
api-daemon/provisioner/examples/multipart-userdata.yaml
Normal file
16
api-daemon/provisioner/examples/multipart-userdata.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
Content-Type: multipart/mixed; boundary="==BOUNDARY=="
|
||||
MIME-Version: 1.0
|
||||
|
||||
--==BOUNDARY==
|
||||
Content-Type: text/cloud-config; charset="us-ascii"
|
||||
|
||||
users:
|
||||
- blah
|
||||
|
||||
--==BOUNDARY==
|
||||
Content-Type: text/x-shellscript; charset="us-ascii"
|
||||
|
||||
#!/bin/bash
|
||||
echo "pvc is grand" >> /etc/motd
|
||||
|
||||
--==BOUNDARY==--
|
Reference in New Issue
Block a user