From 9763a4b5b1d06d3a60cf3cb83989bd8e82bc9afd Mon Sep 17 00:00:00 2001 From: Jim Perrin Date: Oct 01 2014 19:05:03 +0000 Subject: update EasyDocker kickstart --- diff --git a/kickstarts/centos-7-EasyDocker.cfg b/kickstarts/centos-7-EasyDocker.cfg index 9693502..e0fd17b 100644 --- a/kickstarts/centos-7-EasyDocker.cfg +++ b/kickstarts/centos-7-EasyDocker.cfg @@ -4,7 +4,8 @@ keyboard us timezone Europe/Brussels --isUtc auth --useshadow --enablemd5 selinux --enforcing -firewall --enabled --service=mdns +#firewall --enabled --service=cockpit +firewall --disabled xconfig --startxonboot part / --size 8192 --fstype ext4 services --enabled=NetworkManager --disabled=network @@ -13,21 +14,21 @@ services --enabled=NetworkManager --disabled=network # Root password rootpw --iscrypted $6$K2nKf02kVKG68960$OywvoaViphSITuro/liKvCj7Pm/CH/xqzz/lsoXyaKSR1lYf0vHAqSUc483a9MCCBkIwfr/hNMfqwxqVO0OEg1 -repo --name=base --baseurl=http://monster.centos.lab/centos/7/os/x86_64/ -repo --name=updates --baseurl=http://monster.centos.lab/centos/7/updates/x86_64/ -repo --name=epel --baseurl=http://monster.centos.lab/epel/7/x86_64/ +repo --name=base --baseurl=http://mirror.centos.org/centos/7/os/x86_64/ +repo --name=updates --baseurl=http://mirror.centos.org/centos/7/updates/x86_64/ +#used for cockpit +repo --name=cockpit --baseurl=http://cbs.centos.org/repos/virt7-testing/x86_64/os/ -%packages +%packages @base bash bash-completion -epel-release firewalld NetworkManager e2fsprogs -openssh-clients -openssh -anaconda +rootfiles +cockpit +docker # For UEFI/Secureboot support grub2 @@ -41,17 +42,7 @@ shim %post -#tidy up root shell -cp /etc/skel/.bas* /root/ - - -# install docker from here until we get it into a repo. -systemctl start docker.service -yum -y install http://cbs.centos.org/kojifiles/packages/docker/1.2.0/4.el7.centos/x86_64/docker-1.2.0-4.el7.centos.x86_64.rpm - - mkdir -p /etc/systemd/system/docker.service.d/ - cat > /etc/systemd/system/docker.service.d/startup.conf << EOF [Service] ExecStart= @@ -294,6 +285,8 @@ systemctl enable tmp.mount # enable docker systemctl enable docker.service +systemctl enable cockpit.socket +systemctl enable update-issue.service # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db*