mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Merge pull request #2137 from immarvin/onxcatservice
create /opt/xcat under rootimage dir incase it is not there
This commit is contained in:
commit
351205985d
@ -2020,7 +2020,10 @@ sub generic_post { #This function is meant to leave the image in a state approxi
|
||||
if(-e "$rootimg_dir/etc/rc3.d/S61xcatpostinit"){
|
||||
unlink("$rootimg_dir/etc/rc3.d/S61xcatpostinit");
|
||||
}
|
||||
|
||||
|
||||
if (!-d "$rootimg_dir/opt/xcat/") {
|
||||
mkdir "$rootimg_dir/opt/xcat/";
|
||||
}
|
||||
|
||||
if(-e "$rootimg_dir/usr/lib/systemd/"){
|
||||
#if systemd is the service management framework for the diskless image
|
||||
|
Loading…
x
Reference in New Issue
Block a user