22 Jan 2019 |
uniq | ow sry i meant to don't have to do a fork when you're not planning on customizing the bootstrapping process | 15:50:07 |
uniq | that code folder should reflect gitlab urls thou | 15:50:25 |
uniq | so that we don't lose track | 15:50:31 |
Bubu | ah! misread fork as clone. | 15:51:16 |
Bubu | makes sense | 15:51:18 |
uniq | next just run vagrant up in a screen session | 15:51:39 |
uniq | oh wait no screen required | 15:51:52 |
uniq | it'll run forever | 15:52:06 |
Bubu | Bringing machine 'default' up with 'libvirt' provider... Name fdroid-bootstrap-buildserver_default of domain about to create is already taken. Please try to run
vagrant up command again. | 15:52:28 |
Bubu | I guess I need to customize something? | 15:53:05 |
uniq | ow right didn't think that throu entirely | 15:52:55 |
uniq | vagrant uses folder names as vm names | 15:53:23 |
uniq | so that clashes | 15:53:27 |
uniq | :( | 15:53:34 |
uniq | so basically rename you ceckout folder to something like bububox :D | 15:54:08 |
uniq | or whatever you're comfortable with | 15:54:49 |
Bubu | root@gcc137:~/code/Bubu/fdroid-bububox# vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default: -- Name: fdroid-bububox_default
==> default: -- Domain type: kvm
==> default: -- Cpus: 2
==> default: -- Memory: 4608M
==> default: -- Management MAC:
==> default: -- Loader:
==> default: -- Base box: fdroid/basebox-stretch64
==> default: -- Storage pool: default
==> default: -- Image: /var/lib/libvirt/images/fdroid-bububox_default.img (1000G)
==> 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...
Address 192.168.77.0 does not match with network name fdroid-libvirt-vagrant.
Please fix your configuration and run vagrant again.
| 15:55:00 |
uniq | ah, right | 15:57:23 |
uniq | you need to edit Vagrantfile and add this to the libvirt config block: | 15:57:39 |
uniq | libvirt.management_network_address = "192.168.117.0/24"
libvirt.management_network_name = "fdroid-bububox"
| 15:57:45 |
Bubu | it's now here, for a few minutes:
Bringing machine 'default' up with 'libvirt' provider...
==> default: Starting domain.
==> default: Waiting for domain to get an IP address...
| 16:00:09 |
Bubu | do I need to clean something from the previous failed run? | 16:01:32 |
uniq | not sure | 16:01:43 |
uniq | you could try vagrant destroy and start from there | 16:02:44 |
Bubu | rm'ed the .vagrant dir, it's continuing now | 16:03:27 |
uniq | nice | 16:03:43 |
uniq | sorry it's not more streamlined | 16:03:50 |
uniq | when vagrant up finished you can use vagrant ssh -c 'tail -f /home/fdroid/makebuildserver.log' to follow the bootstrap process | 16:05:01 |
uniq | will take several hours | 16:05:09 |
Bubu | ah, just noticed, you said add libvirt.management_network_address = "192.168.117.0/24" I just edited the network name but stayed on 192.168.77.0 is that a problem? | 16:05:31 |