I'm trying to customize a node install to include some local management and 
monitoring tools, starting with puppet, following the instructions here: 
 
https://ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_using_the_cockpit_web_interface/#Advanced_RHVH_Install_SHE_cockpit_deploy

The installation of the ovirt node works, and I can deploy the engine once it's 
running.  However, while the extra steps in the %post section of my kickstart 
are working, any additional 'repo' and %package settings seem to get ignored 
(even though they were copied from known working kickstart files).

What kickstart customizations are supported when deploying a node via PXE?

My PXE menu looks like this:

menuentry 'Ovirt node' {
  linuxefi ovirt/vmlinuz ip=dhcp ks=http://10.13.5.13/kickstart/ovirt.cfg 
ksdevice=link initrd=ovirt/initrd.img inst.stage2=http://10.13.5.13/rhvh
  initrdefi ovirt/initrd.img
}

My kickstart file is as follows:

liveimg --url=http://10.13.5.13/rhvh/ovirt-node-ng-image.squashfs.img
clearpart --all --initlabel
autopart --type=thinp
zerombr
rootpw --plaintext ovirt
timezone --utc America/Chicago
text
reboot

# This will need to be updated to point to the 'frozen' snapshot, when available
repo --install --name="EPEL" 
--baseurl=http://10.13.5.13/mirror/linux/epel/8/Everything/x86_64 --cost=99
repo --install --name="Puppet" 
--baseurl=http://10.13.5.13/mirror/linux/puppetlabs/puppet6/el/8/x86_64 
--cost=98

%packages
puppet-agent
%end

%post --erroronfail
nodectl init
echo "This is a test" > /etc/test.txt
%end

--Mike
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JWCDKP224UMTLRK6BNDMMTRJJ4PQAYCE/

Reply via email to