8efc881946
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
start:copycds_iso
|
|
os:Linux
|
|
cmd:umount /mnt/xcat
|
|
cmd:copycds $$ISO
|
|
check:rc==0
|
|
check:output=~Copying media to /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/
|
|
check:output=~Media copy operation successful
|
|
cmd:ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/.treeinfo || ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/1/suse
|
|
check:rc==0
|
|
end
|
|
|
|
start:copycds_n
|
|
os:Linux
|
|
cmd:umount /mnt/xcat
|
|
cmd:copycds -n __GETNODEATTR($$CN,os)__ $$ISO
|
|
check:rc==0
|
|
check:output=~Copying media to /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/
|
|
check:output=~Media copy operation successful
|
|
cmd:ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/.treeinfo || ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/1/suse
|
|
check:rc==0
|
|
end
|
|
|
|
start:copycds_a
|
|
os:Linux
|
|
cmd:umount /mnt/xcat
|
|
cmd:copycds -a __GETNODEATTR($$CN,arch)__ $$ISO
|
|
check:rc==0
|
|
check:output=~Copying media to /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/
|
|
check:output=~Media copy operation successful
|
|
cmd:ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/.treeinfo ||ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/1/suse
|
|
check:rc==0
|
|
end
|
|
|
|
start:copycds_n_a
|
|
os:Linux
|
|
cmd:umount /mnt/xcat
|
|
cmd:copycds -n __GETNODEATTR($$CN,os)__ -a __GETNODEATTR($$CN,arch)__ $$ISO
|
|
check:rc==0
|
|
check:output=~Copying media to /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/
|
|
check:output=~Media copy operation successful
|
|
cmd:ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/.treeinfo || ls /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/1/suse
|
|
check:rc==0
|
|
end
|
|
|
|
start:copycds_a_err
|
|
os:Linux
|
|
cmd:umount /mnt/xcat
|
|
cmd:copycds -a 386 $$ISO
|
|
check:output=~Error
|
|
end
|
|
|
|
start:copycds_n_err
|
|
os:Linux
|
|
cmd:umount /mnt/xcat
|
|
cmd:copycds -n aix $$ISO
|
|
check:rc!=0
|
|
check:output=~Error
|
|
end
|