packer-builds

Packer Builds for LXC and Libvirt
git clone https://git.in0rdr.ch/packer-builds.git
Log | Files | Refs | Pull requests | README

ks.cfg (882B)


      1 #version=RHEL8
      2 #ignoredisk --only-use=sda
      3 clearpart --none --initlabel
      4 autopart --type=lvm
      5 
      6 cmdline
      7 
      8 # Use network installation
      9 repo --name="AppStream" --baseurl="http://mirror.centos.org/centos/8/AppStream/x86_64/os/"
     10 url --url="http://mirror.centos.org/centos/8/BaseOS/x86_64/os/"
     11 
     12 # Keyboard layouts
     13 keyboard --vckeymap=us --xlayouts='us'
     14 # System language
     15 lang en_US.UTF-8
     16 # System timezone
     17 timezone Europe/Zurich --isUtc
     18 
     19 # Network information
     20 network --bootproto=dhcp --device=link --ipv6=auto --activate
     21 network --hostname=localhost.localdomain
     22 
     23 # Root password
     24 rootpw root
     25 
     26 # Do not configure the X Window System
     27 skipx
     28 # System services
     29 services --enabled=sshd,chronyd
     30 firewall --enabled --service=ssh
     31 
     32 reboot
     33 
     34 %packages
     35 @core
     36 @^minimal install
     37 qemu-guest-agent
     38 %end
     39 
     40 # once the installation is complete,
     41 # but before the system is rebooted for the first time
     42 #%post
     43 #%end
     44