Commit 975fdb84 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'hard-code-boot-for-root' into 'master'

Hard code /boot for root backups

See merge request !45
parents 6b613f2f a0095aad
Pipeline #6638 passed with stages
in 41 seconds
......@@ -112,10 +112,9 @@ for lv in ast.literal_eval(config.get(PERIOD, "backup_lvs")):
else:
continue
if "," in lv:
lv, bind_mount = lv.split(",")
if lv == "root":
bind_mount_args.append("--bind-mount")
bind_mount_args.append(bind_mount + ":" + bind_mount)
bind_mount_args.append("/boot:/boot")
lvm_snapshot_args.append("--lvm-snapshot")
lvm_snapshot_args.append(VG + "/" + lv)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment