Generic/rhel8

From wikieduonline
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.
Vagrant.configure("2") do |config|
  config.vm.box = "generic/rhel8"
  config.vm.define "MY_RHEL8_VM"

  config.vm.provider :libvirt do |libvirt|
    libvirt.default_prefix = ""
    libvirt.machine_virtual_size = 128
    libvirt.memory = 8192
  end
end
vagrant up MY_RHEL8_VM
Bringing machine 'MY_RHEL8_VM' up with 'libvirt' provider...
==> MY_RHEL8_VM: Checking if box 'generic/rhel8' version '3.2.14' is up to date...
==> MY_RHEL8_VM: Created volume larger than box defaults, will require manual resizing of
==> MY_RHEL8_VM: filesystems to utilize.
==> MY_RHEL8_VM: Creating image (snapshot of base box volume).
==> MY_RHEL8_VM: Creating domain with the following settings...
==> MY_RHEL8_VM:  -- Name:              MY_RHEL8_VM
==> MY_RHEL8_VM:  -- Domain type:       kvm
==> MY_RHEL8_VM:  -- Cpus:              2
==> MY_RHEL8_VM:  -- Feature:           acpi
==> MY_RHEL8_VM:  -- Feature:           apic
==> MY_RHEL8_VM:  -- Feature:           pae
==> MY_RHEL8_VM:  -- Memory:            8192M
==> MY_RHEL8_VM:  -- Management MAC:
==> MY_RHEL8_VM:  -- Loader:
==> MY_RHEL8_VM:  -- Nvram:
==> MY_RHEL8_VM:  -- Base box:          generic/rhel8
==> MY_RHEL8_VM:  -- Storage pool:      default
==> MY_RHEL8_VM:  -- Image:             /var/lib/libvirt/images/MY_RHEL8_VM.img (128G)
==> MY_RHEL8_VM:  -- Volume Cache:      default
==> MY_RHEL8_VM:  -- Kernel:
==> MY_RHEL8_VM:  -- Initrd:
==> MY_RHEL8_VM:  -- Graphics Type:     vnc
==> MY_RHEL8_VM:  -- Graphics Port:     -1
==> MY_RHEL8_VM:  -- Graphics IP:       127.0.0.1
==> MY_RHEL8_VM:  -- Graphics Password: Not defined
==> MY_RHEL8_VM:  -- Video Type:        cirrus
==> MY_RHEL8_VM:  -- Video VRAM:        256
==> MY_RHEL8_VM:  -- Sound Type:
==> MY_RHEL8_VM:  -- Keymap:            en-us
==> MY_RHEL8_VM:  -- TPM Path:
==> MY_RHEL8_VM:  -- INPUT:             type=mouse, bus=ps2
==> MY_RHEL8_VM: Creating shared folders metadata...
==> MY_RHEL8_VM: Starting domain.
==> MY_RHEL8_VM: Waiting for domain to get an IP address...
==> MY_RHEL8_VM: Waiting for SSH to become available...
    MY_RHEL8_VM:
    MY_RHEL8_VM: Vagrant insecure key detected. Vagrant will automatically replace
    MY_RHEL8_VM: this with a newly generated keypair for better security.
    MY_RHEL8_VM:
    MY_RHEL8_VM: Inserting generated public key within guest...
    MY_RHEL8_VM: Removing insecure key from the guest if it's present...
    MY_RHEL8_VM: Key inserted! Disconnecting and reconnecting using new SSH key...
==> MY_RHEL8_VM: Configuring and enabling network interfaces...
    MY_RHEL8_VM: SSH address: 192.168.121.63:22
    MY_RHEL8_VM: SSH username: vagrant
    MY_RHEL8_VM: SSH auth method: private key



See also

Advertising: