2011-09-05 02:35:48 +00:00
|
|
|
start:packimage_o_p_a_m
|
2011-12-07 06:59:35 +00:00
|
|
|
os:Linux
|
2011-09-05 02:35:48 +00:00
|
|
|
description:
|
|
|
|
cmd:copycds $$ISO
|
2013-01-07 06:13:02 +00:00
|
|
|
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.bak;fi
|
|
|
|
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz.bak;fi
|
2012-08-01 04:59:06 +00:00
|
|
|
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
2011-09-05 02:35:48 +00:00
|
|
|
check:rc==0
|
|
|
|
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
|
|
|
check:rc==0
|
2011-12-07 06:59:35 +00:00
|
|
|
cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -m cpio
|
2011-09-05 02:35:48 +00:00
|
|
|
check:rc==0
|
|
|
|
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
|
|
|
check:rc==0
|
2013-01-07 06:13:02 +00:00
|
|
|
cmd:mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz.bak /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
|
|
|
cmd:mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.bak /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
2011-09-05 02:35:48 +00:00
|
|
|
end
|
|
|
|
|
2011-12-07 06:59:35 +00:00
|
|
|
start:packimage_p_a_o
|
|
|
|
os:Linux
|
2013-01-07 06:13:02 +00:00
|
|
|
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.bak;fi
|
|
|
|
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz.bak;fi
|
2012-08-01 04:59:06 +00:00
|
|
|
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
2011-12-07 06:59:35 +00:00
|
|
|
check:rc==0
|
|
|
|
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
|
|
|
check:rc==0
|
|
|
|
cmd:packimage -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__
|
|
|
|
check:rc==0
|
|
|
|
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
|
|
|
check:rc==0
|
2013-01-07 06:13:02 +00:00
|
|
|
cmd:mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz.bak /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
|
|
|
cmd:mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.bak /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
2011-12-07 06:59:35 +00:00
|
|
|
end
|
|
|
|
|
2011-09-05 02:35:48 +00:00
|
|
|
start:packimage_imagename
|
2011-12-07 06:59:35 +00:00
|
|
|
os:Linux
|
2011-09-05 02:35:48 +00:00
|
|
|
description:
|
2013-01-07 06:13:02 +00:00
|
|
|
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.bak;fi
|
|
|
|
cmd:ls /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz;if [ $? -eq 0 ];then mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz.bak;fi
|
2012-08-01 04:59:06 +00:00
|
|
|
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
2011-09-05 02:35:48 +00:00
|
|
|
check:rc==0
|
|
|
|
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
|
|
|
check:rc==0
|
|
|
|
cmd:packimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
|
|
|
check:rc==0
|
|
|
|
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
|
|
|
check:rc==0
|
2013-01-07 06:13:02 +00:00
|
|
|
cmd:mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz.bak /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
|
|
|
cmd:mv -f /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.bak /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
2011-09-05 02:35:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
start:packimage_h
|
2011-12-07 06:59:35 +00:00
|
|
|
os:Linux
|
|
|
|
description:packimage -h
|
2011-09-05 02:35:48 +00:00
|
|
|
cmd:packimage -h
|
2011-12-07 06:59:35 +00:00
|
|
|
check:rc==0
|
2011-09-05 02:35:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
start:packimage_v
|
2011-12-07 06:59:35 +00:00
|
|
|
os:Linux
|
|
|
|
description:packimage -v
|
2011-09-05 02:35:48 +00:00
|
|
|
cmd:packimage -v
|
|
|
|
check:output=~version|Version
|
|
|
|
end
|
|
|
|
|