diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 27585abbaa..89c0992420 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -113,7 +113,8 @@ sub mount_chroot { } if (-d "/run") { - system("mount --bind /run $rootimg_dir/run"); + system("mkdir -p $rootimage_dir/run"); + system("mount --bind /run $rootimage_dir/run"); } }