playground/vagrant
2021-08-30 02:53:16 +00:00
..
ansible-initial.yml added some comments 2021-08-29 08:11:32 +00:00
Jenkinsfile added some comments 2021-08-29 08:11:32 +00:00
Makefile fixed the package step 2021-08-30 02:53:16 +00:00
readme.txt added some vagrant files for experiment 2021-08-29 04:19:19 +00:00
Vagrantfile added some vagrant files for experiment 2021-08-29 04:19:19 +00:00

$ vagrant plugin list
$ dnf install vagrant vagrant-libvirt
$ vagrant plugin list
$  (NOT GOOD) vagrant plugin install vagrant-libvirt

# --------------------------------------------------------------------------------

$ vagrant box add generic/rocky8 --provider=libvirt

# --------------------------------------------------------------------------------

$ vagrant box add generic/rocky8
==> box: Loading metadata for box 'generic/rocky8'
    box: URL: https://vagrantcloud.com/generic/rocky8
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) hyperv
2) libvirt
3) parallels
4) virtualbox
5) vmware_desktop

Enter your choice: 2
==> box: Adding box 'generic/rocky8' (v3.4.0) for provider: libvirt
    box: Downloading: https://vagrantcloud.com/generic/boxes/rocky8/versions/3.4.0/providers/libvirt.box
    box: Calculating and comparing box checksum...
==> box: Successfully added box 'generic/rocky8' (v3.4.0) for 'libvirt'!

#
$ ls -l ~/.vagrant.d/boxes/generic-VAGRANTSLASH-rocky8/3.4.0/libvirt/
total 1029128
-rw-rw-r-- 1 hyung-hwan hyung-hwan 1053807104 Aug 29 09:41 box.img
-rw-rw-r-- 1 hyung-hwan hyung-hwan        301 Aug 29 09:41 info.json
-rw-rw-r-- 1 hyung-hwan hyung-hwan         59 Aug 29 09:41 metadata.json
-rw-rw-r-- 1 hyung-hwan hyung-hwan       1987 Aug 29 09:41 Vagrantfile