diff --git a/xCAT-server/share/xcat/netboot/debian/genimage b/xCAT-server/share/xcat/netboot/debian/genimage index 803324405..327ed22f1 100755 --- a/xCAT-server/share/xcat/netboot/debian/genimage +++ b/xCAT-server/share/xcat/netboot/debian/genimage @@ -80,7 +80,7 @@ GetOptions( 'otherpkglist=s' => \$otherpkglist, #internal flag 'postinstall=s' => \$postinstall_filename, #internal flag 'rootimgdir=s' => \$destdir, #internal flag - 'interactive' =>\$prompt, #internal flag + 'interactive' =>\$prompt, ); if (@ARGV > 0) { @@ -1282,11 +1282,11 @@ sub get_profile_def_filename { sub usage { - print 'Usage: genimage -i -n [-r ] -o -p -k [-m [--permission ]]'."\n"; + print 'Usage: genimage -i -n [-r ] -o -p -k [-m [--permission ]] [--interactive]'."\n"; print " --permission only works when '-m statelite' is set\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o centos5.1 -p compute\n"; - print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute\n"; + print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute --interactive\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite --permission 777\n"; return 0; diff --git a/xCAT-server/share/xcat/netboot/fedora12/genimage b/xCAT-server/share/xcat/netboot/fedora12/genimage index 871cde4c0..05d8778ea 100755 --- a/xCAT-server/share/xcat/netboot/fedora12/genimage +++ b/xCAT-server/share/xcat/netboot/fedora12/genimage @@ -84,7 +84,7 @@ GetOptions( 'otherpkglist=s' => \$otherpkglist, #internal flag 'postinstall=s' => \$postinstall_filename, #internal flag 'rootimgdir=s' => \$destdir, #internal flag - 'interactive' =>\$prompt, #internal flag + 'interactive' =>\$prompt, ); if (@ARGV > 0) { @@ -1127,11 +1127,11 @@ sub generic_post { #This function is meant to leave the image in a state approxi sub usage { - print 'Usage: genimage -i -n [-r ] -o -p -k [-m [--permission ]]'."\n"; + print 'Usage: genimage -i -n [-r ] -o -p -k [-m [--permission ]] [--interactive]'."\n"; print " --permission only works when '-m statelite' is set\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o centos5.1 -p compute\n"; - print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute\n"; + print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute --interactive\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite --permission 777\n"; return 0; diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 189cb3792..0c4bf571c 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -85,7 +85,7 @@ GetOptions( 'otherpkglist=s' => \$otherpkglist, #internal flag 'postinstall=s' => \$postinstall_filename, #internal flag 'rootimgdir=s' => \$destdir, #internal flag - 'interactive' =>\$prompt, #internal flag + 'interactive' =>\$prompt, ); if (@ARGV > 0) { @@ -1565,11 +1565,11 @@ sub load_dd () } sub usage { - print 'Usage: genimage [ -i ] [ -n ] [-r ] -o -p -k [--permission ]'."\n"; + print 'Usage: genimage [ -i ] [ -n ] [-r ] -o -p -k [--permission ] [--interactive]'."\n"; print " --permission only works with statelite mode\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o centos5.1 -p compute \n"; - print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute\n"; + print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute --interactive\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot --permission 777\n"; diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 19d4d79df..274553270 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -101,7 +101,7 @@ GetOptions( 'otherpkglist=s' => \$otherpkglist, #internal flag 'postinstall=s' => \$postinstall_filename, #internal flag 'rootimgdir=s' => \$destdir, #internal flag - 'interactive' =>\$prompt, #internal flag + 'interactive' =>\$prompt, ); if (@ARGV > 0) { @@ -1657,11 +1657,11 @@ sub load_dd() } sub usage { - print 'Usage: genimage -o [-a ] -p -i -n [-r ] [-k ] [-g ] [-l rootlimitsize] [-t tmplimitsize] [--permission ]'."\n"; + print 'Usage: genimage -o [-a ] -p -i -n [-r ] [-k ] [-g ] [-l rootlimitsize] [-t tmplimitsize] [--permission ] [--interactive]'."\n"; print " --permission is used for statelite only\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o sles11 -p compute\n"; - print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o sles11 -p compute\n"; + print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o sles11 -p compute --interactive\n"; print " genimage -i eth0 -n tg3,bnx2 -o sles11 -p compute\n"; print " genimage -i eth0 -n tg3,bnx2 -o sles11 -p compute --permission 777\n"; return 0; diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index 257c85a28..99d1c34e1 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -80,7 +80,7 @@ GetOptions( 'otherpkglist=s' => \$otherpkglist, #internal flag 'postinstall=s' => \$postinstall_filename, #internal flag 'rootimgdir=s' => \$destdir, #internal flag - 'interactive' =>\$prompt, #internal flag + 'interactive' =>\$prompt, ); @@ -1283,11 +1283,11 @@ sub get_profile_def_filename { sub usage { - print 'Usage: genimage -i -n [-r ] -o -p -k [-m [--permission ]]'."\n"; + print 'Usage: genimage -i -n [-r ] -o -p -k [-m [--permission ]] [--interactive]'."\n"; print " --permission only works when '-m statelite' is set\n"; print "Examples:\n"; print " genimage -i eth0 -n tg3 -o centos5.1 -p compute\n"; - print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute\n"; + print " genimage -i eth0 -r eth1,eth2 -n tg3,bnx2 -o centos5.1 -p compute --interactive\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite\n"; print " genimage -i eth0 -n igb,e1000e,e1000,bnx2,tg3 -o centos5.4 -p nfsroot -m statelite --permission 777\n"; return 0;