diff --git a/vms/autoinstall/maipo-140-imapf01.cfg b/vms/autoinstall/maipo-140-imapf01.cfg new file mode 100644 index 0000000..2e2330a --- /dev/null +++ b/vms/autoinstall/maipo-140-imapf01.cfg @@ -0,0 +1,54 @@ +lang en_US.UTF-8 +keyboard us +timezone --utc Europe/Zurich +text +skipx +auth --useshadow --enablemd5 +selinux --permissive +firewall --enabled +firstboot --disabled +zerombr +clearpart --all --initlabel +autopart +rootpw --plaintext Welcome2KolabSystems +bootloader --location=mbr +services --enabled=NetworkManager --disabled=network + +network --hostname=imapf01.example.org + +reboot + +repo --name=epel --baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64/ +repo --name=updates --baseurl=http://mirror.kolabsys.com/distr/centos/7/updates/x86_64/ +repo --name=kolab-14-development --baseurl=http://koji.kolabsys.com/tatic-repos/feature-el7-kolab-14-development-build/latest/x86_64/ + +%packages +epel-release +vim-enhanced +kolab +%end + +%post +# Set the default runlevel to 3 +# https://bugzilla.redhat.com/show_bug.cgi?id=440058 +sed -i -r -e 's/^id:[0-6]:initdefault:$/id:3:initdefault:/g' /etc/inittab + +# Insert SSH key +mkdir -p /root/.ssh/ +cat >/root/.ssh/authorized_keys <> /etc/yum.repos.d/kolab-14-koji-release.repo << EOF +[kolab-14-koji] +name=Kolab Enterprise 14 Packages from Koji +baseurl=http://koji.kolabsys.com/static-repos/feature-el7-kolab-14-development-build/latest/\$basearch/ +gpgcheck=0 +enabled=1 +priority=60 +EOF +%end