/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/4-lxc-snapshot-create.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/ganeti/migrate-lxc/4-lxc-snapshot-create.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 312 - (show annotations)
Wed Jan 29 00:13:48 2014 UTC (10 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 226 byte(s)
tweaks after migration of narada

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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26