Sha256: 92c3e05667d36e5014656cab82dab867ced042b4efaa809eca6c38bcf47a7ea8
Contents?: true
Size: 485 Bytes
Versions: 12
Compression:
Stored size: 485 Bytes
Contents
FROM centos:6.4 RUN yum clean all RUN yum install -y sudo openssh-server openssh-clients which curl htop RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key RUN mkdir -p /var/run/sshd RUN useradd -d /home/<%= @username %> -m -s /bin/bash <%= @username %> RUN echo <%= "#{@username}:#{@password}" %> | chpasswd RUN echo '<%= @username %> ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers RUN curl -L http://www.opscode.com/chef/install.sh | bash
Version data entries
12 entries across 12 versions & 1 rubygems