Sistemato percorso ai file di Cloud Init.

This commit is contained in:
Emiliano Vavassori 2022-08-20 00:33:54 +02:00
parent 3b439040a9
commit dd31b87720

View File

@ -23,9 +23,9 @@ volume = lv.Volume("disk",
) )
# Stream configuration files # Stream configuration files
userdata = open("./user-data", "r").read() userdata = open("./cloud-init/user-data", "r").read()
metadata = open("./meta-data", "r").read() metadata = open("./cloud-init/meta-data", "r").read()
networkconfig = open("./network-config", "r").read() networkconfig = open("./cloud-init/network-config", "r").read()
cloudinit = lv.CloudInitDisk("cloud-init", cloudinit = lv.CloudInitDisk("cloud-init",
meta_data = metadata, meta_data = metadata,