forked from sig_core/toolkit
rename metadata file to not conflict
This commit is contained in:
parent
8b099f255c
commit
57ba3ca98c
@ -94,7 +94,7 @@ class ImageBuild:
|
||||
self.package_args = self._package_args()
|
||||
self.common_args = self._common_args()
|
||||
|
||||
self.metadata = pathlib.Path(self.outdir, "metadata.json")
|
||||
self.metadata = pathlib.Path(self.outdir, ".imagefactory-metadata.json")
|
||||
|
||||
self.kickstart_path = pathlib.Path(f"{KICKSTART_PATH}/Rocky-{self.architecture.major}-{self.type_variant}.ks")
|
||||
|
||||
@ -443,7 +443,7 @@ class ImageBuild:
|
||||
return template
|
||||
|
||||
def save(self):
|
||||
with open(pathlib.Path(self.outdir, "metadata.json"), "w") as f:
|
||||
with open(self.metadata, "w") as f:
|
||||
try:
|
||||
o = { name: getattr(self, name) for name in ["base_uuid", "target_uuid"] }
|
||||
log.debug(o)
|
||||
|
@ -53,7 +53,7 @@ vmci0.id = "-1024033366"
|
||||
vmci0.present = "TRUE"
|
||||
vmotion.checkpointFBSize = "134217728"
|
||||
|
||||
displayName = "{{ outname }}"
|
||||
nvram = "{{ outname }}.nvram"
|
||||
scsi0:0.fileName = "{{ outname }}.vmdk"
|
||||
extendedConfigFile = "{{ outname }}.vmxf"
|
||||
displayName = "{{ name }}"
|
||||
nvram = "{{ name }}.nvram"
|
||||
scsi0:0.fileName = "{{ name }}.vmdk"
|
||||
extendedConfigFile = "{{ name }}.vmxf"
|
||||
|
Loading…
Reference in New Issue
Block a user