Refactor golden image handling in backup upload process</message>
<message>Update the _set_golden_from_path function to improve the handling of existing golden image files. Replace the existing unlink logic with a more robust method that safely removes files or broken symlinks using the missing_ok parameter. This change enhances the reliability of the backup upload process by ensuring that stale references are properly cleared before setting a new golden image path.
This commit is contained in:
7
emmc-provisioning/cloud-init/meta-data.guard
Normal file
7
emmc-provisioning/cloud-init/meta-data.guard
Normal file
@@ -0,0 +1,7 @@
|
||||
# NoCloud meta-data: hostname "guard" and instance id for cloud-init.
|
||||
# Copy to the boot (FAT32) partition as "meta-data" (same directory as user-data).
|
||||
|
||||
# instance-id: guard-01
|
||||
|
||||
# Hostname set on first boot
|
||||
local-hostname: guard
|
||||
Reference in New Issue
Block a user