diff options
author | terminaldweller <thabogre@gmail.com> | 2022-07-23 14:26:18 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-07-23 14:26:18 +0000 |
commit | 3bc0f9cd44cb1dc52defb53d461588db298211b9 (patch) | |
tree | 38f325441023b6d76c48c5f3b6bb5f6fb1b3adde /vagrant | |
parent | secrets (diff) | |
download | scripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.tar.gz scripts-3bc0f9cd44cb1dc52defb53d461588db298211b9.zip |
updates
Diffstat (limited to 'vagrant')
-rwxr-xr-x | vagrant/build_linux.sh | 2 | ||||
-rw-r--r-- | vagrant/disposable-alpine/Vagrantfile | 17 | ||||
-rw-r--r-- | vagrant/disposable/Vagrantfile | 11 |
3 files changed, 20 insertions, 10 deletions
diff --git a/vagrant/build_linux.sh b/vagrant/build_linux.sh index 4f53762..1ab06d8 100755 --- a/vagrant/build_linux.sh +++ b/vagrant/build_linux.sh @@ -50,7 +50,7 @@ mkdir -p /dev/pts mount -t devpts devpts /dev/pts echo /sbin/mdev > /proc/sys/kernel/hotplug mdev -s -echo "****************Hello itas109******************" +echo "****************Hello Hello******************" echo "Kernel Version:linux-5.4.50" echo "***********************************************" EOL 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 diff --git a/vagrant/disposable/Vagrantfile b/vagrant/disposable/Vagrantfile index 3b0c3ac..ec58057 100644 --- a/vagrant/disposable/Vagrantfile +++ b/vagrant/disposable/Vagrantfile @@ -9,6 +9,11 @@ Vagrant.configure('2') do |config| config.vm.box_check_update = false config.vm.hostname = 'virt-disposable-deb11' + # 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 config.ssh.keep_alive = 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 |