Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created May 17, 2021 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvalena/5cc7518e85097246a75561656e7260f6 to your computer and use it in GitHub Desktop.
Save pvalena/5cc7518e85097246a75561656e7260f6 to your computer and use it in GitHub Desktop.
RPMs:
- vagrant-2.2.16-1.fc35.noarch
- vagrant-libvirt-0.4.1-2.fc35.noarch
- package vagrant-cloud is not installed
- vagrant-sshfs-1.3.6-1.fc35.noarch
- package vagrant-managed-servers is not installed
- ruby-3.0.1-148.fc35.x86_64
- rubygems-3.2.15-148.fc35.noarch
- rubygem-listen-3.4.1-2.fc34.noarch
- package rubygem-bcrypt_pbkdf is not installed
- package rubygem-ed25519 is not installed
- rubygem-net-ssh-6.1.0-1.fc34.noarch
- rubygem-i18n-1.8.7-2.fc34.noarch
- rubygem-childprocess-1.0.1-6.fc33.noarch
- rubygem-ruby-libvirt-0.7.1-12.fc34.x86_64
- rubygem-fog-core-2.2.4-1.fc35.noarch
- rubygem-fog-json-1.2.0-6.fc34.noarch
- rubygem-fog-libvirt-0.8.0-1.fc35.noarch
Installed Packages
ruby.x86_64 3.0.1-148.fc35 @rawhide
rubygem-childprocess.noarch 1.0.1-6.fc33 @rawhide
rubygem-fog-core.noarch 2.2.4-1.fc35 @rawhide
rubygem-fog-json.noarch 1.2.0-6.fc34 @rawhide
rubygem-fog-libvirt.noarch 0.8.0-1.fc35 @rawhide
rubygem-i18n.noarch 1.8.7-2.fc34 @rawhide
rubygem-listen.noarch 3.4.1-2.fc34 @rawhide
rubygem-net-ssh.noarch 6.1.0-1.fc34 @rawhide
rubygem-ruby-libvirt.x86_64 0.7.1-12.fc34 @rawhide
rubygems.noarch 3.2.15-148.fc35 @rawhide
vagrant.noarch 2.2.16-1.fc35 @rawhide
vagrant-libvirt.noarch 0.4.1-2.fc35 @@commandline
vagrant-sshfs.noarch 1.3.6-1.fc35 @rawhide
Available Packages
ruby.i686 3.0.1-148.fc35 rawhide
>>> Smoke test
==> default: Domain is not created. Please run `vagrant up` first.
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
Vagrant 2.2.16
id name provider state directory
---------------------------------------------------------------------------------------------
The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date (use "vagrant global-status --prune" to prune invalid
entries). To interact with any of the machines, you can go to that
directory and run Vagrant, or you can use the ID directly with
Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"
>>> TEST 1
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Uploading base box image as volume into Libvirt storage...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 1_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: fedora/34-cloud-base
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/1_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Rsyncing folder: test/1/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Rsyncing folder: test/1/ => /vagrant
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 2
Vagrant.configure("2") do |config|
config.vm.define "rawhide" do |rawhide|
rawhide.vm.box = "fedora/34-cloud-base"
rawhide.vm.hostname = "this.is.my.vagrant.box"
rawhide.vm.provider :libvirt do |libvirt|
libvirt.driver = "kvm"
end
end
end
+ vagrant status
Current machine states:
rawhide not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'rawhide' up with 'libvirt' provider...
==> rawhide: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> rawhide: Creating image (snapshot of base box volume).
==> rawhide: Creating domain with the following settings...
==> rawhide: -- Name: 2_rawhide
==> rawhide: -- Domain type: kvm
==> rawhide: -- Cpus: 1
==> rawhide: -- Feature: acpi
==> rawhide: -- Feature: apic
==> rawhide: -- Feature: pae
==> rawhide: -- Clock offset: utc
==> rawhide: -- Memory: 512M
==> rawhide: -- Management MAC:
==> rawhide: -- Loader:
==> rawhide: -- Nvram:
==> rawhide: -- Base box: fedora/34-cloud-base
==> rawhide: -- Storage pool: default
==> rawhide: -- Image: .local/share/libvirt/images/2_rawhide.img (41G)
==> rawhide: -- Disk driver opts: cache='default'
==> rawhide: -- Kernel:
==> rawhide: -- Initrd:
==> rawhide: -- Graphics Type: vnc
==> rawhide: -- Graphics Port: -1
==> rawhide: -- Graphics IP: 127.0.0.1
==> rawhide: -- Graphics Password: Not defined
==> rawhide: -- Video Type: cirrus
==> rawhide: -- Video VRAM: 9216
==> rawhide: -- Sound Type:
==> rawhide: -- Keymap: en-us
==> rawhide: -- TPM Backend: passthrough
==> rawhide: -- TPM Path:
==> rawhide: -- INPUT: type=mouse, bus=ps2
==> rawhide: Creating shared folders metadata...
==> rawhide: Starting domain.
==> rawhide: Waiting for domain to get an IP address...
==> rawhide: Waiting for SSH to become available...
rawhide:
rawhide: Vagrant insecure key detected. Vagrant will automatically replace
rawhide: this with a newly generated keypair for better security.
rawhide:
rawhide: Inserting generated public key within guest...
rawhide: Removing insecure key from the guest if it's present...
rawhide: Key inserted! Disconnecting and reconnecting using new SSH key...
==> rawhide: Setting hostname...
==> rawhide: Rsyncing folder: test/2/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
rawhide running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> rawhide: Halting domain...
+ vagrant status
Current machine states:
rawhide shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'rawhide' up with 'libvirt' provider...
==> rawhide: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> rawhide: Starting domain.
==> rawhide: Waiting for domain to get an IP address...
==> rawhide: Waiting for SSH to become available...
==> rawhide: Creating shared folders metadata...
==> rawhide: Rsyncing folder: test/2/ => /vagrant
==> rawhide: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> rawhide: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
rawhide running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> rawhide: Removing domain...
+ vagrant status
Current machine states:
rawhide not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 3
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.synced_folder ".", "/lizmap"
# TODO:
#, type: "nfs"
#, type: "sshfs"
config.vm.provider :libvirt do |libvirt|
libvirt.driver = "qemu"
end
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Uploading base box image as volume into Libvirt storage...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 3_default
==> default: -- Domain type: qemu
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: centos/7
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/3_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Rsyncing folder: test/3/ => /vagrant
==> default: Rsyncing folder: test/3/ => /lizmap
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'centos/7' version '2004.01' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Rsyncing folder: test/3/ => /vagrant
==> default: Rsyncing folder: test/3/ => /lizmap
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 4
Vagrant.configure("2") do |config|
config.vm.define :test_vm do |test_vm|
test_vm.vm.box = "debian/stretch64"
test_vm.vm.synced_folder ".", "/vagrant", :type => "nfs", :disabled => "true"
end
end
+ vagrant status
Current machine states:
test_vm not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'test_vm' up with 'libvirt' provider...
==> test_vm: Checking if box 'debian/stretch64' version '9.12.0' is up to date...
==> test_vm: Uploading base box image as volume into Libvirt storage...
==> test_vm: Creating image (snapshot of base box volume).
==> test_vm: Creating domain with the following settings...
==> test_vm: -- Name: 4_test_vm
==> test_vm: -- Domain type: kvm
==> test_vm: -- Cpus: 1
==> test_vm: -- Feature: acpi
==> test_vm: -- Feature: apic
==> test_vm: -- Feature: pae
==> test_vm: -- Clock offset: utc
==> test_vm: -- Memory: 512M
==> test_vm: -- Management MAC:
==> test_vm: -- Loader:
==> test_vm: -- Nvram:
==> test_vm: -- Base box: debian/stretch64
==> test_vm: -- Storage pool: default
==> test_vm: -- Image: .local/share/libvirt/images/4_test_vm.img (20G)
==> test_vm: -- Disk driver opts: cache='default'
==> test_vm: -- Kernel:
==> test_vm: -- Initrd:
==> test_vm: -- Graphics Type: vnc
==> test_vm: -- Graphics Port: -1
==> test_vm: -- Graphics IP: 127.0.0.1
==> test_vm: -- Graphics Password: Not defined
==> test_vm: -- Video Type: cirrus
==> test_vm: -- Video VRAM: 9216
==> test_vm: -- Sound Type:
==> test_vm: -- Keymap: en-us
==> test_vm: -- TPM Backend: passthrough
==> test_vm: -- TPM Path:
==> test_vm: -- INPUT: type=mouse, bus=ps2
==> test_vm: Creating shared folders metadata...
==> test_vm: Starting domain.
==> test_vm: Waiting for domain to get an IP address...
==> test_vm: Waiting for SSH to become available...
test_vm:
test_vm: Vagrant insecure key detected. Vagrant will automatically replace
test_vm: this with a newly generated keypair for better security.
test_vm:
test_vm: Inserting generated public key within guest...
test_vm: Removing insecure key from the guest if it's present...
test_vm: Key inserted! Disconnecting and reconnecting using new SSH key...
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
test_vm running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> test_vm: Halting domain...
+ vagrant status
Current machine states:
test_vm shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'test_vm' up with 'libvirt' provider...
==> test_vm: Checking if box 'debian/stretch64' version '9.12.0' is up to date...
==> test_vm: Starting domain.
==> test_vm: Waiting for domain to get an IP address...
==> test_vm: Waiting for SSH to become available...
==> test_vm: Creating shared folders metadata...
==> test_vm: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> test_vm: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
test_vm running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> test_vm: Removing domain...
+ vagrant status
Current machine states:
test_vm not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 5
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
config.vm.provider :libvirt do |libvirt|
libvirt.qemu_use_session = false
end
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 5_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: fedora/34-cloud-base
==> default: -- Storage pool: default
==> default: -- Image: /var/lib/libvirt/images/5_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Rsyncing folder: test/5/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Rsyncing folder: test/5/ => /vagrant
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 6
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
config.vm.provider :libvirt do |libvirt|
libvirt.qemu_use_session = true
end
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 6_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: fedora/34-cloud-base
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/6_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Rsyncing folder: test/6/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Rsyncing folder: test/6/ => /vagrant
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 7
memory = ENV["MEMORY"] || 2048
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
config.vm.provider :libvirt do |libvirt|
libvirt.nested = true
libvirt.memory = memory
end
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 7_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 2048M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: fedora/34-cloud-base
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/7_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Rsyncing folder: test/7/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Rsyncing folder: test/7/ => /vagrant
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 8
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
config.vm.provider :libvirt do |domain|
#domain.qemu_use_session = false
# Add an extra disk
domain.storage :file, :size => '20G'
end
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 8_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: fedora/34-cloud-base
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/8_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- Disks: vdb(qcow2,20G)
==> default: -- Disk(vdb): .local/share/libvirt/images/8_default-vdb.qcow2
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Rsyncing folder: test/8/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Rsyncing folder: test/8/ => /vagrant
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 9
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
config.vm.provider :libvirt do |libvirt|
libvirt.host = "lpcss"
libvirt.connect_via_ssh = true
libvirt.username = "libvirt"
libvirt.socket = '/var/run/libvirt/libvirt-sock'
libvirt.storage_pool_name = "default"
end
end
--> Skip: This is an experiment.
============================================================
============================================================
>>> TEST 10
Vagrant.configure("2") do |config|
config.vm.box = "fedora/34-cloud-base"
config.vm.network "forwarded_port", guest: 80, host: 8080
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 10_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: fedora/34-cloud-base
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/10_default.img (41G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Forwarding ports...
==> default: 80 (guest) => 8080 (host) (adapter eth0)
==> default: Rsyncing folder: test/10/ => /vagrant
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Clearing any previously set forwarded ports...
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'fedora/34-cloud-base' version '34.20210423.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Forwarding ports...
==> default: 80 (guest) => 8080 (host) (adapter eth0)
==> default: Rsyncing folder: test/10/ => /vagrant
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Clearing any previously set forwarded ports...
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 11
Vagrant.configure("2") do |config|
config.vm.box = "centos/8"
config.vm.synced_folder ".", "/vagrant", type: "sshfs"
end
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'centos/8' version '2011.0' is up to date...
==> default: Uploading base box image as volume into Libvirt storage...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: 11_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
==> default: -- Clock offset: utc
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Nvram:
==> default: -- Base box: centos/8
==> default: -- Storage pool: default
==> default: -- Image: .local/share/libvirt/images/11_default.img (11G)
==> default: -- Disk driver opts: cache='default'
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: -1
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Sound Type:
==> default: -- Keymap: en-us
==> default: -- TPM Backend: passthrough
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Installing SSHFS client...
==> default: Mounting SSHFS shared folder...
==> default: Mounting folder via SSHFS: test/11 => /vagrant
==> default: Checking Mount..
==> default: Folder Successfully Mounted!
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant halt
==> default: Halting domain...
+ vagrant status
Current machine states:
default shutoff (libvirt)
The Libvirt domain is not running. Run `vagrant up` to start it.
+ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'centos/8' version '2011.0' is up to date...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
==> default: Waiting for SSH to become available...
==> default: Creating shared folders metadata...
==> default: Mounting SSHFS shared folder...
==> default: Mounting folder via SSHFS: test/11 => /vagrant
==> default: Checking Mount..
==> default: Folder Successfully Mounted!
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
+ vagrant ssh -c 'let "n=11*11" ; echo ${n}'
121
--> Ok
+ vagrant status
Current machine states:
default running (libvirt)
The Libvirt domain is running. To stop this machine, you can run
`vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
+ vagrant destroy -f
==> default: Removing domain...
+ vagrant status
Current machine states:
default not created (libvirt)
The Libvirt domain is not created. Run `vagrant up` to create it.
--> Success!
>>> TEST 12
Vagrant.configure("2") do |config|
config.vm.box = "centos/7"
config.vm.provider :libvirt do |libvirt|
libvirt.qemu_use_session = false
end
config.vm.network "public_network", ip: "192.168.122.210"
end
--> Skip: This should work, but doesn't.
============================================================
Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device
ERROR vagrant: /usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/start_domain.rb:356:in `rescue in call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/start_domain.rb:21:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/set_boot_order.rb:78:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/create_network_interfaces.rb:185:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/create_networks.rb:89:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/share_folders.rb:20:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/prepare_nfs_settings.rb:19:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/delayed.rb:19:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/prepare_nfs_valid_ids.rb:12:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/provision.rb:80:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/create_domain.rb:395:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/create_domain_volume.rb:87:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/handle_box_image.rb:127:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/handle_storage_pool.rb:57:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-libvirt-0.4.1/lib/vagrant-libvirt/action/set_name_of_domain.rb:32:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builder.rb:149:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/runner.rb:89:in `block in run'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/util/busy.rb:19:in `busy'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/runner.rb:89:in `run'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/call.rb:53:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/box_check_outdated.rb:93:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-sshfs-1.3.6/lib/vagrant-sshfs/action_hostpath_fixup.rb:125:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-sshfs-1.3.6/lib/vagrant-sshfs/action_hostpath_fixup.rb:102:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/warden.rb:48:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/builder.rb:149:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/runner.rb:89:in `block in run'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/util/busy.rb:19:in `busy'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/action/runner.rb:89:in `run'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/machine.rb:246:in `action_raw'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/machine.rb:215:in `block in action'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/environment.rb:614:in `lock'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/machine.rb:201:in `call'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/machine.rb:201:in `action'
/usr/share/vagrant/gems/gems/vagrant-2.2.16/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run'
INFO interface: error: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device
There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device
INFO interface: Machine: error-exit ["VagrantPlugins::ProviderLibvirt::Errors::FogError", "There was an error talking to Libvirt. The error message is shown\nbelow:\n\nCall to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device"]
============================================================
Vol centos-VAGRANTSLASH-7_vagrant_box_image_2004.01.img deleted
Vol centos-VAGRANTSLASH-8_vagrant_box_image_2011.0.img deleted
Vol debian-VAGRANTSLASH-stretch64_vagrant_box_image_9.12.0.img deleted
Vol fedora-VAGRANTSLASH-34-cloud-base_vagrant_box_image_34.20210423.0.img deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment