Discussion:
[Sisuite-devel] New SYSTEMIMAGER testing release.
LAHAYE Olivier
2017-04-27 17:05:30 UTC
Permalink
Hi,

I've juste release the 4.5.0-20170427git release.
It features:
- Support for grub / grub2 bootloader installation (no more post install script needed).
=> It is installed before scripts are run. in case it's not working, a post install script can fix the problem.
- beep should work better (nos pcspkr driver is loaded and beep is sent to /dev/console).
- more console output glitches cleanup
- It tries to relabel files with correct selinux policy if selinux is started. If not, it touch /.autorelabel in order to make sure that after next boot, the system whill have correct labels.
This can be disabled by setting rd.sis.selinux-relabel=0 in the PXE initrd.img cmdline

More cmdline parameters are supported:
See /usr/share/dracut/modules.d/39systemimager/parse-sis-options-old.sh (on old dracut sustems like CentOS-6)
or
See /lib/dracut/modules.d/39systemimager/parse-sis-options.sh (on newer dracut systems like CentOS-7)

Howto test easily with a qemu vm:

put 00:16:76:43:8b:0e in your dhcp and make sure your pxe is ok.

update your image script (make a backup of the old one before)
example: /usr/sbin/si_mkautoinstallscript -quiet --autodetect-disks -image oscarimage_sda -force -ip-assignment static -post-install shell

Then run the vm:
/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 1024 -no-fd-bootchk -hda "/patch/to/a/10GB_disk.vmdk" -net nic,vlan=0,macaddr=00:16:76:43:8b:0e,model=rtl8139 -net user,vlan=0,hostname=new-node -rtc base=localtime -name "Linux x86_64" -kernel /usr/share/systemimager/boot/x86_64/standard/kernel -initrd /usr/share/systemimager/boot/x86_64/standard/initrd.img -append "rdshell SKIP_LOCAL_CFG=y MONITOR_SERVER=<ip_of_your_monitor_server> MONITOR_CONSOLE=yes IMAGESERVER=<ip_of_your_image_server> ramdisk_blocksize=1024 ramdisk_size=128000 ip=dhcp ksdevice=bootif acpi=no noapic rd.neednet=1"

Happy testing.
--
Olivier LAHAYE

CEA DRT/LIST/DIR
Loading...