projects
/
sysadmin-cookbook
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tweaks after migration of narada
[sysadmin-cookbook]
/
recepies
/
ganeti
/
migrate-lxc
/
4-lxc-snapshot-create.sh
1
#!/bin/sh -x
2
3
. ./0-host.sh
4
. ./0-lxc.sh
5
6
ssh_lxc lvcreate -s -L 1G -n ganeti-$host /dev/$lxc_vg/$host
7
ssh_lxc mkdir /tmp/ganeti-$host
8
ssh_lxc mount /dev/$lxc_vg/ganeti-$host /tmp/ganeti-$host
9
ssh_lxc df -h /tmp/ganeti-$host
10