migrate lxc container to ganeti
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 6-lxc-snapshot-remove.sh
1 #!/bin/sh -x
2
3 . ./0-host.sh
4 . ./0-lxc.sh
5
6 ssh_lxc umount /tmp/ganeti-$host
7 ssh_lxc dmsetup remove raid5-ganeti--$host-cow
8 ssh_lxc dmsetup remove raid5-ganeti--$host
9 ssh_lxc lvremove /dev/raid5/ganeti-$host
10