split host configure to acpi and console
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / H-host-configure.sh
diff --git a/recepies/ganeti/migrate-lxc/H-host-configure.sh b/recepies/ganeti/migrate-lxc/H-host-configure.sh
deleted file mode 100755 (executable)
index 4595621..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh -x
-
-. ./0-host.sh
-
-#ssh_host apt-get install --reinstall -y initscripts acpid
-ssh_host lsmod | grep button
-
-ssh_host cat /etc/inittab | tee $host/inittab
-grep -v ^# $host/inittab | grep console || echo "1:2345:respawn:/sbin/getty 38400 console" | tee -a $host/inittab && \
-       rsync $host/inittab root@$host:/etc/
-
-ssh_host bak diff /etc/inittab
-ssh_host init q