container/container-medium-19.ks container/container-medium-20.ks container/container-minimal-19.ks container/container-minimal-20.ks

Matthew Miller mattdm at fedoraproject.org
Sun Sep 22 21:36:21 UTC 2013


 container/container-medium-19.ks  |    6 ++++++
 container/container-medium-20.ks  |    6 ++++++
 container/container-minimal-19.ks |    6 ++++++
 container/container-minimal-20.ks |    6 ++++++
 4 files changed, 24 insertions(+)

New commits:
commit d27bd267cf8160550a596e8404a2d1804409487d
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Sun Sep 22 17:36:09 2013 -0400

    create devices which appliance-creator doesn't

diff --git a/container/container-medium-19.ks b/container/container-medium-19.ks
index 2826c43..0eefe6c 100644
--- a/container/container-medium-19.ks
+++ b/container/container-medium-19.ks
@@ -65,6 +65,12 @@ rm -f /etc/systemd/system/default.target
 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 echo .
 
+# create devices which appliance-creator does not
+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
+
 echo -n "Network fixes"
 # initscripts don't like this file to be missing.
 cat > /etc/sysconfig/network << EOF
diff --git a/container/container-medium-20.ks b/container/container-medium-20.ks
index 4c9b2f5..5c90c61 100644
--- a/container/container-medium-20.ks
+++ b/container/container-medium-20.ks
@@ -65,6 +65,12 @@ rm -f /etc/systemd/system/default.target
 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 echo .
 
+# create devices which appliance-creator does not
+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
+
 echo -n "Network fixes"
 # initscripts don't like this file to be missing.
 cat > /etc/sysconfig/network << EOF
diff --git a/container/container-minimal-19.ks b/container/container-minimal-19.ks
index cf0d311..5f15a0b 100644
--- a/container/container-minimal-19.ks
+++ b/container/container-minimal-19.ks
@@ -57,6 +57,12 @@ rm -f /etc/systemd/system/default.target
 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 echo .
 
+# create devices which appliance-creator does not
+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
+
 echo -n "Network fixes"
 # initscripts don't like this file to be missing.
 cat > /etc/sysconfig/network << EOF
diff --git a/container/container-minimal-20.ks b/container/container-minimal-20.ks
index 653cefb..c052a0e 100644
--- a/container/container-minimal-20.ks
+++ b/container/container-minimal-20.ks
@@ -57,6 +57,12 @@ rm -f /etc/systemd/system/default.target
 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 echo .
 
+# create devices which appliance-creator does not
+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
+
 echo -n "Network fixes"
 # initscripts don't like this file to be missing.
 cat > /etc/sysconfig/network << EOF




More information about the cloud mailing list