Parent Directory | Revision Log
split master and storage node, support machines with dash in name
1 | dpavlin | 306 | #!/bin/sh -x |
2 | |||
3 | . ./0-host.sh | ||
4 | . ./0-ganeti.sh | ||
5 | |||
6 | dpavlin | 316 | ssh_storage ls -d /tmp/$host/rootfs > $host/rootfs_boot |
7 | dpavlin | 312 | if [ -s $host/rootfs_boot ] ; then |
8 | dpavlin | 316 | ssh_storage mv /tmp/$host/rootfs/* /tmp/$host/ |
9 | ssh_storage mv /tmp/$host/rootfs/.?* /tmp/$host/ | ||
10 | ssh_storage rmdir /tmp/$host/rootfs | ||
11 | dpavlin | 312 | fi |
12 | dpavlin | 306 | |
13 | dpavlin | 316 | ssh_storage mkdir -p /tmp/$host/lib/modules |
14 | ssh_storage cp -ra /lib/modules/3.2.0-4-amd64 /tmp/$host/lib/modules | ||
15 | dpavlin | 306 | |
16 | dpavlin | 316 | ssh_storage chroot /tmp/$host apt-get install --reinstall -y initscripts acpid |
17 | dpavlin | 306 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |