2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-13 06:50:16 +00:00

fix defect [bugs:#4497] Ubuntu pre script is not executed when provision CN

This commit is contained in:
immarvin
2015-01-03 20:26:03 -08:00
parent 3a86428393
commit cc7374e631

View File

@@ -120,12 +120,12 @@ xserver-xorg xserver-xorg/config/monitor/mode-list \
select 1024x768 @ 60 Hz
# To workaround the "Unmount partitions that are in use?" question,
# run the "umount /media" after the preseed is read in
d-i preseed/early_command string wget http://`cat /tmp/xcatserver`/install/autoinst/#HOSTNAME#.pre; \
chmod u+x #HOSTNAME#.pre; \
./#HOSTNAME#.pre
# To workaround the "Unmount partitions that are in use?" question
d-i preseed/early_command string umount /media || true
./#HOSTNAME#.pre; \
umount /media || true
d-i preseed/late_command string wget http://`cat /tmp/xcatserver`/install/autoinst/#HOSTNAME#.post; \
chmod u+x #HOSTNAME#.post; \