support imaged provisioning.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
706eca1ef7
commit
1c2f665993
@ -1512,17 +1512,10 @@ sub mksysclone
|
||||
my $pspath = "$installroot/sysclone/scripts/post-install/";
|
||||
my $clusterfile = "$installroot/sysclone/scripts/cluster.txt";
|
||||
|
||||
unless (-r "$pspath/15all.$script1")
|
||||
{
|
||||
mkpath("$pspath");
|
||||
copy("$installroot/postscripts/$script1","$pspath/15all.$script1");
|
||||
}
|
||||
|
||||
unless (-r "$pspath/16all.$script2")
|
||||
{
|
||||
mkpath("$pspath");
|
||||
copy("$installroot/postscripts/$script2","$pspath/16all.$script2");
|
||||
}
|
||||
mkpath("$pspath");
|
||||
copy("$installroot/postscripts/$script1","$pspath/15all.$script1");
|
||||
copy("$installroot/postscripts/$script2","$pspath/16all.$script2");
|
||||
copy("$installroot/postscripts/runxcatpost","$pspath/17all.runxcatpost");
|
||||
|
||||
unless (-r "$pspath/10all.fix_swap_uuids")
|
||||
{
|
||||
@ -1536,12 +1529,6 @@ sub mksysclone
|
||||
copy("/var/lib/systemimager/scripts/post-install/95all.monitord_rebooted","$pspath");
|
||||
}
|
||||
|
||||
unless (-r "$pspath/17all.runxcatpost") # need enhance for hierarchy support
|
||||
{
|
||||
mkpath("$pspath");
|
||||
copy("$installroot/postscripts/runxcatpost","$pspath/17all.runxcatpost");
|
||||
}
|
||||
|
||||
# copy hosts
|
||||
copy("/etc/hosts","$installroot/sysclone/scripts/");
|
||||
|
||||
|
2966
xCAT-server/lib/xcat/plugins/anaconda.pm.new
Normal file
2966
xCAT-server/lib/xcat/plugins/anaconda.pm.new
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user