/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/D-ganeti-create-instance.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

Annotation of /recepies/ganeti/migrate-lxc/D-ganeti-create-instance.sh

Parent Directory Parent Directory | Revision Log Revision Log


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

1 dpavlin 306 #!/bin/sh -xe
2    
3     . ./0-host.sh
4     . ./0-lxc.sh
5     . ./0-ganeti.sh
6    
7     ssh_master umount /tmp/$host
8    
9     ssh_master dmsetup remove ffzgvg-${host}p1
10    
11 dpavlin 312 ssh_master gnt-instance add -H kvm:kernel_path=/boot/vmlinuz-3.2-kvmU,initrd_path=/boot/initrd.img-3.2-kvmU -B maxmem=1G,minmem=1G,vcpus=2 -t plain -n vmh12 -o debootstrap+default --disk 0:adopt=$host --disk 1:adopt=$host-swap --no-start --no-ip-check --no-name-check $host_fqdn
12 dpavlin 306

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26