From: Dobrica Pavlinusic Date: Mon, 17 Feb 2020 16:41:42 +0000 (+0100) Subject: note how to test cloned lv with kvm X-Git-Url: http://git.rot13.org/?p=gnt-info;a=commitdiff_plain;h=429d3fa3403d099659c891e1fbb1e1a7d1aee9fb note how to test cloned lv with kvm --- diff --git a/gnt-lv2ssd.sh b/gnt-lv2ssd.sh index 2c19b4e..3985691 100755 --- a/gnt-lv2ssd.sh +++ b/gnt-lv2ssd.sh @@ -43,4 +43,8 @@ __SHELL__ ssh $node sh -xe /dev/shm/$instance.sh + + echo "TEST: kvm -m 1024 -drive file=/dev/$target_vg/$instance.$disk_nr,format=raw,if=virtio -nographic -net nic -net user" + echo "after login: ifdown eth0 ; dhclient eth0" done +