lavabit / robox

The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
630 stars 140 forks source link

Fedora 37 is CentOS 8 #267

Closed defiguero55 closed 1 year ago

defiguero55 commented 1 year ago

Fedora 37 is wrong, it is a CentOS 8

ladar commented 1 year ago

@defiguero55 can you be a little more specific? We build the Fedora 37 box for 5 different hypervisors...? It would also help to know specifically which version of the box you think is CentOS 8.

ladar commented 1 year ago

@defiguero55 I tried the libvirt, VMware, and VIrtualBox iamges. They all looked correct. I don't have have the ability to test the Htyper-V box, or Parallels image at the moment.

./connect.sh generic fedora37 libvirt
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'generic/fedora37' version '4.2.14' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default:  -- Name:              generic-fedora37-libvirt_default
==> default:  -- Description:       Source: /home/ladar/Data/robox/check/generic-fedora37-libvirt/Vagrantfile
==> default:  -- Domain type:       kvm
==> default:  -- Cpus:              2
==> default:  -- Feature:           acpi
==> default:  -- Feature:           apic
==> default:  -- Feature:           pae
==> default:  -- Clock offset:      utc
==> default:  -- Memory:            2048M
==> default:  -- Base box:          generic/fedora37
==> default:  -- Storage pool:      default
==> default:  -- Image(vda):        /var/lib/libvirt/images/generic-fedora37-libvirt_default.img, virtio, 128G
==> default:  -- Disk driver opts:  cache='default'
==> default:  -- Graphics Type:     vnc
==> default:  -- Video Type:        cirrus
==> default:  -- Video VRAM:        256
==> default:  -- Video 3D accel:    false
==> default:  -- Keymap:            en-us
==> default:  -- TPM Backend:       passthrough
==> default:  -- INPUT:             type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Domain launching with graphics connection settings...
==> default:  -- Graphics Port:      5901
==> default:  -- Graphics IP:        127.0.0.1
==> default:  -- Graphics Password:  Not defined
==> default:  -- Graphics Websocket: 5700
==> default: Waiting for domain to get an IP address...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 192.168.121.2:22
    default: SSH username: vagrant
    default: SSH auth method: private key
    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: Machine booted and ready!
==> default: Running provisioner: shell...
    default: Running: inline script
[vagrant@fedora37 ~]$ grep -E "^NAME\=|^VERSION\=" /etc/os-release 
NAME="Fedora Linux"
VERSION="37 (Thirty Seven)"
[vagrant@fedora37 ~]$ sudo dmidecode -s system-product-name
Standard PC (i440FX + PIIX, 1996)
[vagrant@fedora37 ~]$ cat /etc/vagrant_box_build_time 
Wed Feb 15 04:13:26 PM UTC 2023
./connect.sh generic fedora37 virtualbox
==> box: Loading metadata for box 'generic/fedora37'
    box: URL: https://vagrantcloud.com/generic/fedora37
==> box: Adding box 'generic/fedora37' (v4.2.14) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/generic/boxes/fedora37/versions/4.2.14/providers/virtualbox.box
    box: Calculating and comparing box checksum...
==> box: Successfully added box 'generic/fedora37' (v4.2.14) for 'virtualbox'!
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'generic/fedora37' version '4.2.14' is up to date...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    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: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: 
    default: Guest Additions Version: 7.0.6
    default: VirtualBox Version: 6.1
==> default: Running provisioner: shell...
    default: Running: inline script
[vagrant@fedora37 ~]$ grep -E "^NAME\=|^VERSION\=" /etc/os-release 
NAME="Fedora Linux"
VERSION="37 (Thirty Seven)"
[vagrant@fedora37 ~]$ sudo dmidecode -s system-product-name
VirtualBox
[vagrant@fedora37 ~]$ cat /etc/vagrant_box_build_time 
Wed Feb 15 06:57:08 PM UTC 2023
./connect.sh generic fedora37 vmware
==> box: Loading metadata for box 'generic/fedora37'
    box: URL: https://vagrantcloud.com/generic/fedora37
==> box: Adding box 'generic/fedora37' (v4.2.14) for provider: vmware_desktop
    box: Downloading: https://vagrantcloud.com/generic/boxes/fedora37/versions/4.2.14/providers/vmware_desktop.box
    box: Calculating and comparing box checksum...
==> box: Successfully added box 'generic/fedora37' (v4.2.14) for 'vmware_desktop'!
Bringing machine 'default' up with 'vmware_desktop' provider...
==> default: Cloning VMware VM: 'generic/fedora37'. This can take some time...
==> default: Checking if box 'generic/fedora37' version '4.2.14' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
==> default: Waiting for the VM to receive an address...
==> default: Forwarding ports...
    default: -- 22 => 2222
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    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: Machine booted and ready!
==> default: Configuring network adapters within the VM...
==> default: Running provisioner: shell...
    default: Running: inline script
[vagrant@fedora37 ~]$  grep -E "^NAME\=|^VERSION\=" /etc/os-release 
NAME="Fedora Linux"
VERSION="37 (Thirty Seven)"
[vagrant@fedora37 ~]$ sudo dmidecode -s system-product-name
VMware Virtual Platform
[vagrant@fedora37 ~]$ cat /etc/vagrant_box_build_time 
Wed Feb 15 12:35:05 PM UTC 2023
defiguero55 commented 1 year ago

I've download the box again and the version is ok right now, maybe was an error in my laptop

but thanks for your help