Sistemato percorso ai file di Cloud Init.
This commit is contained in:
parent
3b439040a9
commit
dd31b87720
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user