#version=RHEL7 # System authorization information auth --enableshadow --passalgo=sha512 # Use network installation url --url="http://qafiler.bos.redhat.com/redhat/nightly/latest-RHEL-7/compose/Server/x86_64/os/" # Run the Setup Agent on first boot firstboot --enable ignoredisk --only-use=vda # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=eth0 --noipv6 --activate network --hostname=openlmi-demo-webserver.demo.sgallagh.redhat.com # Root password rootpw --iscrypted $6$jJ9T6NrbdFdg8XUd$OxxiYdlzlqdEg7vkNxkiT2D.yqWBRMo/7jmV.CYj3i78U9W.JPpTJ5gF6W1lfAXA.I0NVsNR4UkkhvRXCziNC1 # System timezone timezone America/New_York --isUtc # System bootloader configuration bootloader --location=mbr --boot-drive=vda autopart --type=lvm # Partition clearing information clearpart --none --initlabel services --enabled=tog-pegasus user --name=pegasus selinux --permissive %packages @core openlmi %end %post echo "redhat"|passwd --stdin pegasus firewall-cmd --permanent --add-port 5989/tcp #Create repo pointing to the nightlies cat << EOF > /etc/yum.repos.d/nightlies.repo [Server] name=Server baseurl=http://download.englab.brq.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server/x86_64/os enabled=1 gpgcheck=0 skip_if_unavailable=1 [Server-optional] name=Server-optional baseurl=http://download.englab.brq.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server-optional/x86_64/os enabled=1 gpgcheck=0 skip_if_unavailable=1 [Server-debuginfo] name=Server-debuginfo baseurl=http://download.englab.brq.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server/x86_64/debug/tree enabled=1 gpgcheck=0 skip_if_unavailable=1 [Server-optional-debuginfo] name=Server-optional-debuginfo baseurl=http://download.englab.brq.redhat.com/pub/rhel/rel-eng/latest-RHEL-7/compose/Server-optional/x86_64/debug/tree enabled=1 gpgcheck=0 skip_if_unavailable=1 EOF %end