1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | $ cat user-data.yaml
#cloud-config
write_files:
- content: |
{"foo": {
"id": "001100",
"value": "False"
}
}
path: /root/my.json
root@lxd-xenial-daily:~# ls
my.json
root@lxd-xenial-daily:~# cat my.json
{"foo": {
"id": "001100",
"value": "False"
}
}
|