Hello, just have a quick general question. I recently created a basic python startup service that uses the Proxmox API to provision Debian VMs on boot, which relies on using the VM note section for any boot script that needs to be ran. Because of this, I was curious if there is a character limit to the note section that I should be aware of.
For anyone interested, a draft of the code can be found at http://pastebin.com/BvbvqGJY. It looks for specific strings in the notes to pass the boot script. An example can be found below:
For anyone interested, a draft of the code can be found at http://pastebin.com/BvbvqGJY. It looks for specific strings in the notes to pass the boot script. An example can be found below:
Code:
==USERDATA-START==
#!/bin/bash
echo "test" > /root/testfile.txt
==USERDATA-END==