Parent Directory | Revision Log
split master and storage node, support machines with dash in name
1 | #!/bin/sh -xe |
2 | |
3 | . ./0-host.sh |
4 | . ./0-ganeti.sh |
5 | |
6 | ssh_storage lvcreate -L 1G -n $host-swap ffzgvg |
7 | |
8 | ssh_storage parted -s /dev/mapper/ffzgvg-$hostlv--swap 'mklabel msdos mkpartfs primary linux-swap 0% 100%' |
9 | |
10 | ssh_storage dmsetup remove ffzgvg-${hostlv}--swapp1 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |