diff options
-rw-r--r-- | compass-cobbler/Dockerfile | 5 | ||||
-rw-r--r-- | compass-cobbler/distro_signatures.json | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/compass-cobbler/Dockerfile b/compass-cobbler/Dockerfile index ddb3161..d963e49 100644 --- a/compass-cobbler/Dockerfile +++ b/compass-cobbler/Dockerfile @@ -6,7 +6,7 @@ ARG BRANCH=master # pkgs and services... RUN yum -y update && \ yum -y install epel-release && \ - yum -y install wget dhcp bind syslinux pykickstart file initscripts net-tools tcpdump xinetd vim avahi avahi-tools && \ + yum -y install wget dhcp bind syslinux pykickstart file initscripts net-tools tcpdump xinetd vim avahi avahi-tools ntp && \ wget http://artifacts.opnfv.org/compass4nfv/package/cobbler/cobbler-2.6.10-1.fc22.noarch.rpm && \ wget http://artifacts.opnfv.org/compass4nfv/package/cobbler/cobbler-web-2.6.10-1.fc22.noarch.rpm && \ yum -y localinstall cobbler-2.6.10-1.fc22.noarch.rpm cobbler-web-2.6.10-1.fc22.noarch.rpm && \ @@ -14,7 +14,8 @@ RUN yum -y update && \ systemctl enable cobblerd && \ systemctl enable httpd && \ systemctl enable dhcpd && \ - systemctl enable xinetd + systemctl enable xinetd && \ + systemctl enable ntpd # some tweaks on services RUN sed -i -e 's/\(^.*disable.*=\) yes/\1 no/' /etc/xinetd.d/tftp && \ diff --git a/compass-cobbler/distro_signatures.json b/compass-cobbler/distro_signatures.json index 21d22fe..71977b7 100644 --- a/compass-cobbler/distro_signatures.json +++ b/compass-cobbler/distro_signatures.json @@ -458,7 +458,7 @@ "xenial": { "signatures":["dists", ".disk"], "version_file":"Release|mini-info", - "version_file_regex":"Codename: xenial|Ubuntu 16.04", + "version_file_regex":"Codename: xenial|Ubuntu 16.04.3", "kernel_arch":"linux-headers-(.*)\\.deb", "kernel_arch_regex":null, "supported_arches":["i386","amd64"], |