lib/beaker/hypervisor/docker.rb in beaker-2.40.0 vs lib/beaker/hypervisor/docker.rb in beaker-2.41.0
- old
+ new
@@ -210,10 +210,10 @@
when /cumulus/
dockerfile += <<-EOF
RUN apt-get update
RUN apt-get install -y openssh-server openssh-client #{Beaker::HostPrebuiltSteps::CUMULUS_PACKAGES.join(' ')}
EOF
- when /fedora-22/
+ when /fedora-(2[2-9])/
dockerfile += <<-EOF
RUN dnf clean all
RUN dnf install -y sudo openssh-server openssh-clients #{Beaker::HostPrebuiltSteps::UNIX_PACKAGES.join(' ')}
RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key