You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vagrant.configure(2) do |config|
config.vm.box = "debian7"
config.ssh.username = "root"
config.ssh.password = "toor"
config.vm.network :private_network, ip: "192.168.123.20"
config.vm.provider :kvm do |kvm, override|
kvm.memory_size = '512m'
kvm.sudo = false
kvm.gui = 1
kvm.cpu_model="x86_64"
kvm.memory_size = "2G"
kvm.core_number = 2
end
end
Base image does not contain sudo, everything works till it tries to mount p9share, which fails as it tries to mount with sudo, without checking if it exists first.
Monkeypatching cap/mount_p9.rb by replacing machine.communicate.sudo by machine.communicate.execute works without any issue.
The text was updated successfully, but these errors were encountered:
Hi guys,
Configuring Vagrantfile as follow:
Vagrant.configure(2) do |config|
config.vm.box = "debian7"
config.ssh.username = "root"
config.ssh.password = "toor"
config.vm.network :private_network, ip: "192.168.123.20"
config.vm.provider :kvm do |kvm, override|
kvm.memory_size = '512m'
kvm.sudo = false
kvm.gui = 1
kvm.cpu_model="x86_64"
kvm.memory_size = "2G"
kvm.core_number = 2
end
end
Base image does not contain sudo, everything works till it tries to mount p9share, which fails as it tries to mount with sudo, without checking if it exists first.
Monkeypatching cap/mount_p9.rb by replacing machine.communicate.sudo by machine.communicate.execute works without any issue.
The text was updated successfully, but these errors were encountered: