2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

Set hostname sooner for SuSE stateless images

This avoids ugly behaviors where hostname is set
late or not at all.
This commit is contained in:
Jarrod Johnson
2020-06-05 11:15:12 -04:00
parent 518259192d
commit e5f01f7781

View File

@@ -2,3 +2,5 @@ root=1
rootok=1
netroot=xcat
echo '[ -e $NEWROOT/proc ]' > $hookdir/initqueue/finished/xcatroot.sh
hostname $(getarg NODE)