container/container-medium-19.ks | 2 ++
container/container-medium-20.ks | 2 ++
container/container-small-19.ks | 2 ++
container/container-small-20.ks | 2 ++
4 files changed, 8 insertions(+)
New commits:
commit 3a5da269bf89e09abbb07dc38ab93bce23dc81ee
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Thu Sep 26 09:29:17 2013 -0400
/dev/console shouldn't be the real console in the container.
diff --git a/container/container-medium-19.ks b/container/container-medium-19.ks
index 313ac58..ebdedff 100644
--- a/container/container-medium-19.ks
+++ b/container/container-medium-19.ks
@@ -70,6 +70,8 @@ ln -s /proc/kcore /dev/core
mknod -m 600 /dev/console c 5 1
mknod -m 660 /dev/loop0 b 7 0
mknod -m 660 /dev/loop1 b 7 1
+rm -rf /dev/console
+ln -s /dev/tty1 /dev/console
echo -n "Network fixes"
# initscripts don't like this file to be missing.
diff --git a/container/container-medium-20.ks b/container/container-medium-20.ks
index 03988e3..b9a9cbe 100644
--- a/container/container-medium-20.ks
+++ b/container/container-medium-20.ks
@@ -70,6 +70,8 @@ ln -s /proc/kcore /dev/core
mknod -m 600 /dev/console c 5 1
mknod -m 660 /dev/loop0 b 7 0
mknod -m 660 /dev/loop1 b 7 1
+rm -rf /dev/console
+ln -s /dev/tty1 /dev/console
echo -n "Network fixes"
# initscripts don't like this file to be missing.
diff --git a/container/container-small-19.ks b/container/container-small-19.ks
index 4e19ded..3fcd63d 100644
--- a/container/container-small-19.ks
+++ b/container/container-small-19.ks
@@ -64,6 +64,8 @@ ln -s /proc/kcore /dev/core
mknod -m 600 /dev/console c 5 1
mknod -m 660 /dev/loop0 b 7 0
mknod -m 660 /dev/loop1 b 7 1
+rm -rf /dev/console
+ln -s /dev/tty1 /dev/console
echo -n "Network fixes"
# initscripts don't like this file to be missing.
diff --git a/container/container-small-20.ks b/container/container-small-20.ks
index 9266a0e..bc44013 100644
--- a/container/container-small-20.ks
+++ b/container/container-small-20.ks
@@ -64,6 +64,8 @@ ln -s /proc/kcore /dev/core
mknod -m 600 /dev/console c 5 1
mknod -m 660 /dev/loop0 b 7 0
mknod -m 660 /dev/loop1 b 7 1
+rm -rf /dev/console
+ln -s /dev/tty1 /dev/console
echo -n "Network fixes"
# initscripts don't like this file to be missing.