I have some boxes created with minimal configuration: just the
Vagrant insecure SSH keypair and sudoers suggestion from
here . I use vagrant with the
vagrant-libvirt plugin for KVM support instead of the default VirtualBox provider. If you run libvirt, virt-manager and qemu from SBo these boxes should work with no extra configuration needed.
These are 32bit and 64bit Slackware-current boxes, up to Fri May 20 21:20:29 UTC 2016 with the A/, AP/, D/, L/, and N/ package series installed.
I don't have any boxes that use the VirtualBox provider because I don't use -current myself on my desktop and I need a recent version of VirtualBox to create them. Once 14.2 is out, I'll populate this box repository with some other provider versions.
Note that the URLs below are a temporary setup while I get the real server ready.
1. Add the box (use slackware64-current for 64bit)
Code:
gzamudio@hades:~ $ mkdir vagrant
gzamudio@hades:~ $ cd vagrant
gzamudio@hades:~/vagrant $ vagrant box add https://mirrors.slackware.mx/vagrant.../metadata.json
==> box: Loading metadata for box 'https://mirrors.slackware.mx/vagrant/boxes/slackware-current/metadata.json'
==> box: Adding box 'slackware32-current' (v2016.05.20) for provider: libvirt
box: Downloading: https://mirrors.slackware.mx/vagrant...2016.05.20.box
box: Calculating and comparing box checksum...
==> box: Successfully added box 'slackware32-current' (v2016.05.20) for 'libvirt'!
2. Create the box
Code:
gzamudio@hades:~/vagrant $ vagrant init slackware32-current
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.
gzamudio@hades:~/vagrant $ vagrant up --provider libvirt
Bringing machine 'default' up with 'libvirt' provider...
==> 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: vagrant_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 1
==> default: -- Memory: 512M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Base box: slackware32-current
==> default: -- Storage pool: default
==> default: -- Image: /var/lib/libvirt/images/vagrant_default.img (15G)
==> default: -- Volume Cache: default
==> default: -- Kernel:
==> default: -- Initrd:
==> default: -- Graphics Type: vnc
==> default: -- Graphics Port: 5900
==> default: -- Graphics IP: 127.0.0.1
==> default: -- Graphics Password: Not defined
==> default: -- Video Type: cirrus
==> default: -- Video VRAM: 9216
==> default: -- Keymap: en-us
==> default: -- TPM Path:
==> default: -- INPUT: type=mouse, bus=ps2
==> default: -- Command line :
==> 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: Configuring and enabling network interfaces...
==> default: Rsyncing folder: /home/gzamudio/vagrant/ => /home/vagrant/sync
3. SSH into it
Code:
gzamudio@hades:~/vagrant $ vagrant ssh
Last login: Tue May 24 19:04:33 2016
Linux 4.4.11-smp.
vagrant@slackware32-current:~$ uname -a
Linux slackware32-current 4.4.11-smp #2 SMP Thu May 19 00:50:37 CDT 2016 i686 Westmere E56xx/L56xx/X56xx (Nehalem-C) GenuineIntel GNU/Linux