diff options
author | terminaldweller <devi@terminaldweller.com> | 2023-03-23 14:25:15 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2023-03-23 14:25:15 +0000 |
commit | a132e61ce49b34d767a53b56c1c05e91f3d4fb21 (patch) | |
tree | 98669731022a8a9544ee99f75e448ddf04469d30 /dispffox/Vagrantfile | |
parent | updates (diff) | |
download | vagrantboxes-a132e61ce49b34d767a53b56c1c05e91f3d4fb21.tar.gz vagrantboxes-a132e61ce49b34d767a53b56c1c05e91f3d4fb21.zip |
update
Diffstat (limited to '')
-rw-r--r-- | dispffox/Vagrantfile | 14 |
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 |