From a132e61ce49b34d767a53b56c1c05e91f3d4fb21 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 23 Mar 2023 17:55:15 +0330 Subject: update --- dispffox/Vagrantfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'dispffox') 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 -- cgit v1.2.3