osc getbinaries home:marcus.schaefer:dms suse-migration-test-vm images_sle12 x86_64
qemu-kvm \
-m 4096 \
-netdev user,id=user0,hostfwd=tcp::10022-:22 \
-device virtio-net-pci,netdev=user0,mac=52:54:00:6a:40:f8 \
-serial stdio \
binaries/kiwi-test-image-disk-simple*.qcow2
zypper ar https://download.opensuse.org/distribution/leap/15.5/repo/oss Leap
zypper refresh
Testing in offline mode with kexec based reboot (run_migration)
run_migration
Testing in offline mode with grub(loopback) reboot
# Add repo for testing DMS activation: zypper ar https://download.opensuse.org/repositories/home:/marcus.schaefer:/dms/SLE_12_SP5 Migration zypper install suse-migration-sle15-activation zypper rr Migration reboot
[Optional] Testing in online upgrade mode (not officially supported by SUSE)
migrate --use-zypper-dup --reboot
Testing more complex disk layouts
- Change suse-migration-test-vm to build different layouts e.g. with LVM, with btrfs, etc etc and repeat steps 1-1.2
- Also test settings possible in /etc/sle-migration-service.yml
Run SLE12 on demand instance in some cloud e.g. AWS and add repo for testing DMS activation
zypper ar https://download.opensuse.org/repositories/home:/marcus.schaefer:/dms/SLE_12_SP5 Migration
Testing with kexec based reboot (run_migration)
sudo zypper in SLES15-Migration run_migration
Testing with grub(loopback) reboot
sudo zypper install SLES15-Migration suse-migration-sle15-activation reboot
[Optional] Testing in online upgrade mode (not officially supported by SUSE):
sudo zypper install suse-migration sudo migrate --product SLES/15.5/x86_64 --reboot