aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/disposable-alpine/Vagrantfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-23 14:26:18 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-23 14:26:18 +0000
commit3bc0f9cd44cb1dc52defb53d461588db298211b9 (patch)
tree38f325441023b6d76c48c5f3b6bb5f6fb1b3adde /vagrant/disposable-alpine/Vagrantfile
parentsecrets (diff)
downloadscripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.tar.gz
scripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.zip
updates
Diffstat (limited to 'vagrant/disposable-alpine/Vagrantfile')
-rw-r--r--vagrant/disposable-alpine/Vagrantfile17
1 files changed, 11 insertions, 6 deletions
diff --git a/vagrant/disposable-alpine/Vagrantfile b/vagrant/disposable-alpine/Vagrantfile
index 2ed3e78..0007dc7 100644
--- a/vagrant/disposable-alpine/Vagrantfile
+++ b/vagrant/disposable-alpine/Vagrantfile
@@ -4,10 +4,15 @@
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt'
Vagrant.require_version '>= 2.2.6'
Vagrant.configure('2') do |config|
- config.vm.box = 'generic/alpine315'
- config.vm.box_version = '3.6.8'
+ config.vm.box = 'generic/alpine316'
+ config.vm.box_version = '4.1.0'
config.vm.box_check_update = false
- config.vm.hostname = 'virt-disposable-alpine315'
+ config.vm.hostname = 'virt-disposable-alpine316'
+
+ if Vagrant.has_plugin?('vagrant-proxyconf')
+ config.proxy.http = 'socks5://192.168.1.103:9995'
+ config.proxy.https = 'socks5://192.168.1.103:9995'
+ end
# ssh
config.ssh.insert_key = true
@@ -20,7 +25,7 @@ Vagrant.configure('2') do |config|
config.ssh.connect_timeout = 15
# shares
- config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: 4, nfs_udp: false
+ # config.vm.synced_folder '.', '/vagrant', type: 'nfs', nfs_version: 4, nfs_udp: false
config.vagrant.plugins = ['vagrant-reload', { 'vagrant-libvirt' => { 'version' => '^0.6.2' } }]
@@ -33,8 +38,8 @@ Vagrant.configure('2') do |config|
libvirt.qemuargs value: '-nographic'
libvirt.qemuargs value: '-nodefaults'
libvirt.qemuargs value: '-no-user-config'
- libvirt.qemuargs value: '-serial'
- libvirt.qemuargs value: 'telnet::4321,server,nowait'
+ # libvirt.qemuargs value: '-serial'
+ # libvirt.qemuargs value: 'telnet::4321,server,nowait'
libvirt.random model: 'random'
end