/history
/1000-loopback-mounting.d/fedora-29.img
/2000-xz-compressed.d/Fedora-Cloud-Base-29-1.2.x86_64.raw.xz
-/3500-partitioning.d/boot.img
-/3500-partitioning.d/.root.img
-/3500-partitioning.d/root.img
-/3500-partitioning.d/swap.img
+/2200-partitioning.d/boot.img
+/2200-partitioning.d/.root.img
+/2200-partitioning.d/root.img
+/2200-partitioning.d/swap.img
/nbdview/error?
/nbdview/log?
/nbdview/sock?
\ No newline at end of file
popd
fi
-if [ ! -f 3500-partitioning.d/boot.img ]; then
+if [ ! -f 2200-partitioning.d/boot.img ]; then
guestfish --ro -a 1000-loopback-mounting.d/fedora-29.img -i <<EOF
-download /dev/sda2 3500-partitioning.d/boot.img
-download /dev/sda3 3500-partitioning.d/swap.img
+download /dev/sda2 2200-partitioning.d/boot.img
+download /dev/sda3 2200-partitioning.d/swap.img
# Save to hidden file.
-download /dev/sda4 3500-partitioning.d/.root.img
+download /dev/sda4 2200-partitioning.d/.root.img
EOF
fi
# Restore original root.img before each run.
-if ! cmp -s 3500-partitioning.d/{.root.img,root.img}; then
- cp 3500-partitioning.d/{.root.img,root.img}
+if ! cmp -s 2200-partitioning.d/{.root.img,root.img}; then
+ cp 2200-partitioning.d/{.root.img,root.img}
fi
# Create mountpoint.