diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 8b70bbd3d..17af96a40 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -1088,7 +1088,7 @@ EOMS print $inifile "if [ -r /rootimg-statelite.gz ]; then\n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs \$NEWROOT \n"; + print $inifile " mount -o size=$rootlimit,mode=755 -t tmpfs rootfs \$NEWROOT \n"; } else { print $inifile " mount -o mode=755 -t tmpfs rootfs \$NEWROOT\n"; } @@ -1210,7 +1210,7 @@ EOMS print $inifile "elif [ -r /rootimg.gz ]; then\n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs \$NEWROOT\n"; + print $inifile " mount -o size=$rootlimit,mode=755 -t tmpfs rootfs \$NEWROOT\n"; } else { print $inifile " mount -o mode=755 -t tmpfs rootfs \$NEWROOT\n"; } diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 79fd31eec..2869c95ce 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -963,7 +963,6 @@ fi export IFACE=\$IFACE - netstart \$IFACE while ! ifconfig | grep inet; do echo -e "\${RED}Failed to acquire address, retrying \${RESET}" @@ -1045,7 +1044,7 @@ EOMS print $inifile "if [ -r /rootimg-statelite.gz ]; then \n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs \$NEWROOT \n"; + print $inifile " mount -o size=$rootlimit,mode=755 -t tmpfs rootfs \$NEWROOT \n"; } else { print $inifile " mount -o mode=755 -t tmpfs rootfs \$NEWROOT \n"; } @@ -1183,7 +1182,7 @@ EOMS print $inifile "elif [ -r /rootimg.gz ]; then\n"; print $inifile "echo Setting up RAM-root tmpfs.\n"; if ($rootlimit) { - print $inifile " mount -o size=$rootlimit mode=755 -t tmpfs rootfs \$NEWROOT\n"; + print $inifile " mount -o size=$rootlimit,mode=755 -t tmpfs rootfs \$NEWROOT\n"; } else { print $inifile " mount -o mode=755 -t tmpfs rootfs \$NEWROOT\n"; }