aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dispffox/Vagrantfile14
1 files changed, 12 insertions, 2 deletions
diff --git a/dispffox/Vagrantfile b/dispffox/Vagrantfile
index 1ce5af8..e067396 100644
--- a/dispffox/Vagrantfile
+++ b/dispffox/Vagrantfile
@@ -28,7 +28,7 @@ Vagrant.configure('2') do |config|
libvirt.default_prefix = 'dispffox-'
libvirt.driver = 'kvm'
libvirt.memory = '4096'
- libvirt.cpus = 2
+ libvirt.cpus = 4
libvirt.sound_type = nil
# libvirt.qemuargs value: '-nographic'
libvirt.qemuargs value: '-nodefaults'
@@ -38,10 +38,20 @@ Vagrant.configure('2') do |config|
# libvirt.qemuargs value: '-chardev'
# libvirt.qemuargs value: 'pci-serial,chardev=hostusbserial'
libvirt.qemuargs value: '-serial'
- libvirt.qemuargs value: 'telnet::6621,server,nowait'
+ libvirt.qemuargs value: 'pty'
libvirt.random model: 'random'
end
+ config.vm.provision 'ffox-install', type: 'shell', name: 'ffox-install', privileged: true , inline: <<-SHELL
+ echo <<- HEREDOC > /etc/apt/apt.conf.d/proxy.conf
+ Acquire::http::Proxy "socks5h://192.168.1.214:9995";
+ Acquire::https::Proxy "socks5h://192.168.1.214:9995";
+ HEREDOC
+ echo <<- HEREDOC >> /etc/ssh/sshd_config
+ X11DisplayOffset 0
+ X11UseLocalhost no
+ HEREDOC
+ SHELL
config.vm.provision 'ffox-install', type: 'shell', name: 'ffox-install', inline: <<-SHELL
sudo apt update && sudo apt upgrade -y
sudo snap install firefox