Sha256: f231010e48944dcc6678ebebfc49bd28a2a270912f0ff763158a9804463a6631
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
require "vagrant-shell" Vagrant.configure("2") do |config| config.vm.provider :shell do |shell, override| override.vm.box = "vagrant-shell-demo" shell.script = File.expand_path("../libexec/shell-docker", __FILE__) shell.run_args = [ 'bash -c "mkdir -p /root/.ssh/authorized_keys; curl -s https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub > /root/.ssh/authorized_keys; aptitude install -y openssh-server; mkdir -p /var/run/sshd; exec /usr/sbin/sshd -D"' ] override.ssh.username = "root" override.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :disabled => true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-shell-0.2.5 | Vagrantfile |