From 449ee0f8086ac0e7ce120342cd4df1e78d842327 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 19 Nov 2014 03:16:44 -0500 Subject: [PATCH] correct postinstall scripts for ubuntu diskless --- .../xcat/netboot/ubuntu/compute.ubuntu14.04.1.postinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu14.04.1.postinstall b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu14.04.1.postinstall index a08d3f238..d2bc8eb82 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu14.04.1.postinstall +++ b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu14.04.1.postinstall @@ -21,7 +21,7 @@ profile=$4 workdir=$5 #-- Example how /etc/fstab can be automatically generated during image generation: -#cat <$installroot/etc/fstab +cat <$installroot/etc/fstab devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 @@ -29,7 +29,7 @@ sysfs /sys sysfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 2 tmpfs /var/tmp tmpfs defaults 0 2 compute_ppc64el / tmpfs rw 0 1 -#END +END #-- Uncomment the line contains "cons" in /etc/inittab