/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/H-host-configure.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/H-host-configure.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 306 - (show annotations)
Sun Jan 12 13:39:28 2014 UTC (10 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 369 byte(s)
migrate lxc container to ganeti
1 #!/bin/sh -x
2
3 . ./0-host.sh
4
5 #ssh_host apt-get install --reinstall -y initscripts acpid
6 ssh_host lsmod | grep button
7
8 ssh_host cat /etc/inittab | tee $host/inittab
9 grep -v ^# $host/inittab | grep console || echo "1:2345:respawn:/sbin/getty 38400 console" | tee -a $host/inittab && \
10 rsync $host/inittab root@$host:/etc/
11
12 ssh_host bak diff /etc/inittab
13 ssh_host init q

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26