仮想マシンにインストールするOSイメージファイルを入手する。ここでは、CentOS-Minimalのイメージファイルをダウンロードしています。

$ curl -LO http://ftp.riken.jp/Linux/centos/7.5.1804/isos/x86_64/CentOS-7-x86_64-Minimal-1804.iso
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   265  100   265    0     0   2543      0 --:--:-- --:--:-- --:--:--  2523
$

CentOS-Minimalのイメージファイルがダウンロードできていることを確認する。

$ ls
CentOS-7-x86_64-Minimal-1804.iso
$ 

virt-installコマンドを使って、仮想マシンのゲストOSをインストールする。

引数
説明
– – name仮想マシンの名前
– – ram仮想マシンに割り当てるメモリー (RAM) の容量 (MiB 単位)
– – disk path仮想マシンのディスクストレージのパス。, sizeで、ストレージサイズを指定(GiB 単位)。
– – vcpus仮想マシンに割り当てるCPUの数
– – os-type仮想マシンのオペレーティング・システム・タイプ。 設定可能な値は、windows、unix、otherおよびlinux。
– – os-variant仮想マシンのオペレーティング・システム・バリアント
– – networkネットワークタイプ
– – graphicsグラフィカル表示の方法
– – console不明
– – locationインストールするOSのイメージファイル
– – extra-args不明

$ sudo virt-install --name centos7 --ram 2048 --disk path=/var/lib/libvirt/images/centos7-Minimal.img,size=20 --vcpus 2 --os-type linux --os-variant rhel7 --network bridge=br0 --graphics none --console pty,target_type=serial --location '/tmp/os-image/CentOS-7-x86_64-Minimal-1804.iso' --extra-args 'console=ttyS0,115200n8 serial'

インストールの開始中...
ファイル .treeinfo を読出中...                      |  354 B  00:00     
ファイル vmlinuz を読出中...                        | 5.9 MB  00:00     
ファイル initrd.img を読出中...                     |  50 MB  00:00     
割り当て中 'centos7-Minimal.img'                       |  20 GB  00:00     
ドメイン centos7 に接続しました
エスケープ文字は ^] です
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018
[    0.000000] Command line: console=ttyS0,115200n8 serial
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fff6fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007fff7000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x7fff7 max_arch_pfn = 0x400000000
[    0.000000] PAT configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- UC  
[    0.000000] found SMP MP-table at [mem 0x000f6370-0x000f637f] mapped at [ffffffffff200370]
[    0.000000] RAMDISK: [mem 0x7cd7e000-0x7ffeffff]
[    0.000000] Early table checksum verification disabled
[    0.000000] ACPI: RSDP 00000000000f61a0 00014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 000000007ffffb40 00030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 000000007ffff177 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 000000007fffe040 01137 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 000000007fffe000 00040
[    0.000000] ACPI: SSDT 000000007ffff1eb 008D5 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 000000007ffffac0 00080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fff6fff]
[    0.000000] NODE_DATA(0) allocated [mem 0x7cd57000-0x7cd7dfff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:7cd07001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 1310153026 cycles
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x7fff6fff]
[    0.000000] Initmem setup node 0 [mem 0x00001000-0x7fff6fff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xfeffbfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[    0.000000] PERCPU: Embedded 35 pages/cpu @ffff95823ca00000 s104856 r8192 d30312 u1048576
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 7ca134c0
[    0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 515968
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0,115200n8 serial
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] x86/fpu: xstate_offset[2]: 0240, xstate_sizes[2]: 0100
[    0.000000] x86/fpu: xstate_offset[3]: 03c0, xstate_sizes[3]: 0040
[    0.000000] x86/fpu: xstate_offset[4]: 0400, xstate_sizes[4]: 0040
[    0.000000] xsave: enabled xstate_bv 0x1f, cntxt size 0x440 using standard form
[    0.000000] Memory: 1992540k/2097116k available (7324k kernel code, 392k absent, 104184k reserved, 6305k data, 1832k init)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] x86/pti: Unmapping kernel while in userspace
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=5120 to nr_cpu_ids=2.
[    0.000000] NR_IRQS:327936 nr_irqs:440 0
[    0.000000] Console: colour *CGA 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] allocated 8388608 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] tsc: Detected 3192.000 MHz processor
[    0.075452] Calibrating delay loop (skipped) preset value.. 6384.00 BogoMIPS (lpj=3192000)
[    0.076476] pid_max: default: 32768 minimum: 301
[    0.077059] Security Framework initialized
[    0.077564] SELinux:  Initializing.
[    0.078009] Yama: becoming mindful.
[    0.078627] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.079779] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.080722] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.081542] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.082501] Initializing cgroup subsys memory
[    0.083052] Initializing cgroup subsys devices
[    0.083596] Initializing cgroup subsys freezer
[    0.084149] Initializing cgroup subsys net_cls
[    0.084694] Initializing cgroup subsys blkio
[    0.085225] Initializing cgroup subsys perf_event
[    0.085805] Initializing cgroup subsys hugetlb
[    0.086351] Initializing cgroup subsys pids
[    0.086876] Initializing cgroup subsys net_prio
[    0.088449] mce: CPU supports 10 MCE banks
[    0.088996] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.089643] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.090296] tlb_flushall_shift: 6
[    0.090892] FEATURE SPEC_CTRL Present
[    0.091343] FEATURE IBPB_SUPPORT Present
[    0.091836] Spectre V2 : Mitigation: IBRS (kernel)
[    0.093722] Freeing SMP alternatives: 24k freed
[    0.099571] ACPI: Core revision 20130517
[    0.100470] ACPI: All ACPI Tables successfully acquired
[    0.101170] ftrace: allocating 28047 entries in 110 pages
[    0.125099] Enabling x2apic
[    0.125522] Enabled x2apic
[    0.126147] Switched APIC routing to physical x2apic.
[    0.127980] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.128763] smpboot: CPU0: Intel Core Processor (Skylake, IBRS) (fam: 06, model: 5e, stepping: 03)
[    0.129996] Performance Events: unsupported p6 CPU model 94 no PMU driver, software events only.
[    0.131192] KVM setup paravirtual spinlock
[    0.132547] smpboot: Booting Node   0, Processors  #1 OK
[    0.133351] kvm-clock: cpu 1, msr 0:7cd07041, secondary cpu clock
[    0.155165] Brought up 2 CPUs
[    0.155171] KVM setup async PF for cpu 1
[    0.155174] kvm-stealtime: cpu 1, msr 7cb134c0
[    0.156599] smpboot: Max logical packages: 2
[    0.157121] smpboot: Total of 2 processors activated (12768.00 BogoMIPS)
[    0.158312] devtmpfs: initialized
[    0.160134] EVM: security.selinux
[    0.160545] EVM: security.ima
[    0.160912] EVM: security.capability
[    0.161818] atomic64 test passed for x86-64 platform with CX8 and with SSE
[    0.162657] pinctrl core: initialized pinctrl subsystem
[    0.163359] RTC time:  9:35:14, date: 09/29/18
[    0.163948] NET: Registered protocol family 16
[    0.164637] ACPI: bus type PCI registered
[    0.165135] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.166017] PCI: Using configuration type 1 for base access
[    0.169973] ACPI: Added _OSI(Module Device)
[    0.170494] ACPI: Added _OSI(Processor Device)
[    0.171046] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.171615] ACPI: Added _OSI(Processor Aggregator Device)
[    0.173351] ACPI: Interpreter enabled
[    0.173812] ACPI: (supports S0 S5)
[    0.174228] ACPI: Using IOAPIC for interrupt routing
[    0.174839] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.176228] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.178212] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.178975] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.179808] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.180627] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.182161] acpiphp: Slot [3] registered
[    0.182659] acpiphp: Slot [5] registered
[    0.183155] acpiphp: Slot [6] registered
[    0.183642] acpiphp: Slot [7] registered
[    0.184135] acpiphp: Slot [8] registered
[    0.184626] acpiphp: Slot [9] registered
[    0.185126] acpiphp: Slot [10] registered
[    0.185629] acpiphp: Slot [11] registered
[    0.186131] acpiphp: Slot [12] registered
[    0.186634] acpiphp: Slot [13] registered
[    0.187136] acpiphp: Slot [14] registered
[    0.187639] acpiphp: Slot [15] registered
[    0.188142] acpiphp: Slot [16] registered
[    0.188645] acpiphp: Slot [17] registered
[    0.189147] acpiphp: Slot [18] registered
[    0.189651] acpiphp: Slot [19] registered
[    0.190151] acpiphp: Slot [20] registered
[    0.190655] acpiphp: Slot [21] registered
[    0.191155] acpiphp: Slot [22] registered
[    0.191656] acpiphp: Slot [23] registered
[    0.192156] acpiphp: Slot [24] registered
[    0.192657] acpiphp: Slot [25] registered
[    0.193158] acpiphp: Slot [26] registered
[    0.193660] acpiphp: Slot [27] registered
[    0.194161] acpiphp: Slot [28] registered
[    0.194661] acpiphp: Slot [29] registered
[    0.195163] acpiphp: Slot [30] registered
[    0.195667] acpiphp: Slot [31] registered
[    0.196165] PCI host bridge to bus 0000:00
[    0.196666] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.197331] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.198149] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.198967] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.199868] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff window]
[    0.209051] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.209925] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.210702] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.211555] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.212798] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.213680] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.296918] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.297746] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.298553] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.299353] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.300135] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.300921] vgaarb: loaded
[    0.301303] SCSI subsystem initialized
[    0.301779] ACPI: bus type USB registered
[    0.302285] usbcore: registered new interface driver usbfs
[    0.302954] usbcore: registered new interface driver hub
[    0.303607] usbcore: registered new device driver usb
[    0.304267] EDAC MC: Ver: 3.0.0
[    0.304876] PCI: Using ACPI for IRQ routing
[    0.305608] NetLabel: Initializing
[    0.306035] NetLabel:  domain hash size = 128
[    0.306563] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.307176] NetLabel:  unlabeled traffic allowed by default
[    0.307888] amd_nb: Cannot enumerate AMD northbridges
[    0.308521] Switched to clocksource kvm-clock
[    0.311669] pnp: PnP ACPI init
[    0.312079] ACPI: bus type PNP registered
[    0.312864] pnp: PnP ACPI: found 5 devices
[    0.313363] ACPI: bus type PNP unregistered
[    0.319169] NET: Registered protocol family 2
[    0.319812] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.320710] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.321531] TCP: Hash tables configured (established 16384 bind 16384)
[    0.322327] TCP: reno registered
[    0.322742] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.323474] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.324276] NET: Registered protocol family 1
[    0.324822] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.325550] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.326257] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.327215] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.328635] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[    0.329892] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[    0.331064] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.332463] Unpacking initramfs...
[    2.538667] Freeing initrd memory: 51656k freed
[    2.543026] sha1_ssse3: Using AVX2 optimized SHA-1 implementation
[    2.544151] sha256_ssse3: Using AVX2 optimized SHA-256 implementation
[    2.545512] futex hash table entries: 512 (order: 3, 32768 bytes)
[    2.546596] Initialise system trusted keyring
[    2.547380] audit: initializing netlink socket (disabled)
[    2.548340] type=2000 audit(1538213716.762:1): initialized
[    2.565577] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    2.567681] zpool: loaded
[    2.568146] zbud: loaded
[    2.568752] VFS: Disk quotas dquot_6.5.2
[    2.569457] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.570678] msgmni has been set to 3992
[    2.571392] Key type big_key registered
[    2.572579] NET: Registered protocol family 38
[    2.573358] Key type asymmetric registered
[    2.574048] Asymmetric key parser 'x509' registered
[    2.574665] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    2.575582] io scheduler noop registered
[    2.576064] io scheduler deadline registered (default)
[    2.576707] io scheduler cfq registered
[    2.577180] io scheduler mq-deadline registered
[    2.577732] io scheduler kyber registered
[    2.578285] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    2.578971] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    2.579855] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.580759] ACPI: Power Button [PWRF]
[    2.581283] GHES: HEST is not enabled!
[    2.581790] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.604326] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    2.605469] Non-volatile memory driver v1.3
[    2.606046] Linux agpgart interface v0.103
[    2.606658] crash memory driver: version 1.1
[    2.607217] rdac: device handler registered
[    2.607778] hp_sw: device handler registered
[    2.608304] emc: device handler registered
[    2.608852] alua: device handler registered
[    2.609386] libphy: Fixed MDIO Bus: probed
[    2.609947] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.610745] ehci-pci: EHCI PCI platform driver
[    2.611739] ehci-pci 0000:00:04.7: EHCI Host Controller
[    2.612451] ehci-pci 0000:00:04.7: new USB bus registered, assigned bus number 1
[    2.613496] ehci-pci 0000:00:04.7: irq 11, io mem 0xfebc1000
[    2.619537] ehci-pci 0000:00:04.7: USB 2.0 started, EHCI 1.00
[    2.620264] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.621093] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.621967] usb usb1: Product: EHCI Host Controller
[    2.622563] usb usb1: Manufacturer: Linux 3.10.0-862.el7.x86_64 ehci_hcd
[    2.623371] usb usb1: SerialNumber: 0000:00:04.7
[    2.624039] hub 1-0:1.0: USB hub found
[    2.624506] hub 1-0:1.0: 6 ports detected
[    2.625114] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.625872] ohci-pci: OHCI PCI platform driver
[    2.626425] uhci_hcd: USB Universal Host Controller Interface driver
[    2.627699] uhci_hcd 0000:00:04.0: UHCI Host Controller
[    2.628402] uhci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
[    2.629323] uhci_hcd 0000:00:04.0: detected 2 ports
[    2.629969] uhci_hcd 0000:00:04.0: irq 11, io base 0x0000c060
[    2.630718] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.631543] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.632436] usb usb2: Product: UHCI Host Controller
[    2.633051] usb usb2: Manufacturer: Linux 3.10.0-862.el7.x86_64 uhci_hcd
[    2.633874] usb usb2: SerialNumber: 0000:00:04.0
[    2.634538] hub 2-0:1.0: USB hub found
[    2.635018] hub 2-0:1.0: 2 ports detected
[    2.636153] uhci_hcd 0000:00:04.1: UHCI Host Controller
[    2.636845] uhci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 3
[    2.637772] uhci_hcd 0000:00:04.1: detected 2 ports
[    2.638450] uhci_hcd 0000:00:04.1: irq 10, io base 0x0000c080
[    2.639204] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.640031] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.640935] usb usb3: Product: UHCI Host Controller
[    2.641557] usb usb3: Manufacturer: Linux 3.10.0-862.el7.x86_64 uhci_hcd
[    2.642382] usb usb3: SerialNumber: 0000:00:04.1
[    2.643051] hub 3-0:1.0: USB hub found
[    2.643545] hub 3-0:1.0: 2 ports detected
[    2.644739] uhci_hcd 0000:00:04.2: UHCI Host Controller
[    2.645438] uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 4
[    2.646372] uhci_hcd 0000:00:04.2: detected 2 ports
[    2.647026] uhci_hcd 0000:00:04.2: irq 10, io base 0x0000c0a0
[    2.647776] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.648605] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.649489] usb usb4: Product: UHCI Host Controller
[    2.650102] usb usb4: Manufacturer: Linux 3.10.0-862.el7.x86_64 uhci_hcd
[    2.650929] usb usb4: SerialNumber: 0000:00:04.2
[    2.651576] hub 4-0:1.0: USB hub found
[    2.652056] hub 4-0:1.0: 2 ports detected
[    2.652633] usbcore: registered new interface driver usbserial
[    2.653354] usbcore: registered new interface driver usbserial_generic
[    2.654164] usbserial: USB Serial support registered for generic
[    2.654930] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    2.656565] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.657199] serio: i8042 AUX port at 0x60,0x64 irq 12
[    2.657864] mousedev: PS/2 mouse device common for all mice
[    2.658766] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    2.660361] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input2
[    2.661578] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3
[    2.661638] rtc_cmos 00:00: RTC can wake from S4
[    2.663311] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[    2.664150] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram
[    2.664915] cpuidle: using governor menu
[    2.665559] hidraw: raw HID events driver (C) Jiri Kosina
[    2.666294] usbcore: registered new interface driver usbhid
[    2.666976] usbhid: USB HID core driver
[    2.667497] drop_monitor: Initializing network drop monitor service
[    2.668316] TCP: cubic registered
[    2.668731] Initializing XFRM netlink socket
[    2.669331] NET: Registered protocol family 10
[    2.670024] NET: Registered protocol family 17
[    2.670583] mpls_gso: MPLS GSO support
[    2.671379] microcode: CPU0 sig=0x506e3, pf=0x1, revision=0x1
[    2.672150] microcode: CPU1 sig=0x506e3, pf=0x1, revision=0x1
[    2.672937] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    2.674193] Loading compiled-in X.509 certificates
[    2.674791] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
[    2.675984] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
[    2.677476] Loaded X.509 cert 'CentOS Linux kernel signing key: 3af3ce8a74696ef1bd0f37e552627b7109e32b96'
[    2.678666] registered taskstats version 1
[    2.680863] Key type trusted registered
[    2.682744] Key type encrypted registered
[    2.683254] IMA: No TPM chip found, activating TPM-bypass! (rc=-19)
[    2.684270]   Magic number: 2:182:577
[    2.684856] rtc_cmos 00:00: setting system clock to 2018-09-29 09:35:17 UTC (1538213717)
[    2.686570] Freeing unused kernel memory: 1832k freed
[    2.687313] Write protecting the kernel read-only data: 12288k
[    2.689508] Freeing unused kernel memory: 856k freed
[    2.691222] Freeing unused kernel memory: 684k freed
[    2.693814] random: systemd: uninitialized urandom read (16 bytes read)
[    2.695028] random: systemd: uninitialized urandom read (16 bytes read)
[    2.695841] random: systemd: uninitialized urandom read (16 bytes read)
[    2.697359] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    2.699542] systemd[1]: Detected virtualization kvm.
[    2.700158] systemd[1]: Detected architecture x86-64.
[    2.700769] systemd[1]: Running in initial RAM disk.

Welcome to CentOS Linux 7 (Core) dracut-033-535.el7 (Initramfs)!

[    2.702417] systemd[1]: No hostname configured.
[    2.703014] systemd[1]: Set hostname to <localhost>.
[    2.703642] systemd[1]: Initializing machine ID from KVM UUID.
[    2.705717] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[    2.715672] random: systemd: uninitialized urandom read (16 bytes read)
[    2.716423] random: systemd: uninitialized urandom read (16 bytes read)
[    2.717103] random: systemd: uninitialized urandom read (16 bytes read)
[    2.717931] random: systemd: uninitialized urandom read (16 bytes read)
[    2.719110] random: systemd: uninitialized urandom read (16 bytes read)
[    2.720021] random: systemd: uninitialized urandom read (16 bytes read)
[    2.723162] systemd[1]: Cannot add dependency job for unit blk-availability.service, ignoring: Unit not found.
[  OK  ] Created slice Root Slice.
[    2.725451] systemd[1]: Created slice Root Slice.
[    2.726022] systemd[1]: Starting Root Slice.
[  OK  ] Listening on udev Control Socket.
[    2.727303] systemd[1]: Listening on udev Control Socket.
[    2.727999] systemd[1]: Starting udev Control Socket.
[  OK  ] Reached target Local File Systems.
[    2.729397] systemd[1]: Reached target Local File Systems.
[    2.730092] systemd[1]: Starting Local File Systems.
[  OK  ] Listening on Journal Socket.
[    2.731503] systemd[1]: Listening on Journal Socket.
[    2.732129] systemd[1]: Starting Journal Socket.
[  OK  ] Reached target Local Encrypted Volumes.
[    2.733539] systemd[1]: Reached target Local Encrypted Volumes.
[    2.734273] systemd[1]: Starting Local Encrypted Volumes.
[  OK  ] Reached target Timers.
[    2.735651] systemd[1]: Reached target Timers.
[    2.736214] systemd[1]: Starting Timers.
[  OK  ] Created slice System Slice.
[    2.737480] systemd[1]: Created slice System Slice.
[    2.738095] systemd[1]: Starting System Slice.
[  OK  ] Reached target Slices.
[    2.739367] systemd[1]: Reached target Slices.
[    2.739926] systemd[1]: Starting Slices.
[    2.740764] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[    2.742392] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[  OK  ] Listening on udev Kernel Socket.
[    2.744591] systemd[1]: Listening on udev Kernel Socket.
[    2.745271] systemd[1]: Starting udev Kernel Socket.
[    2.746133] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    2.747679] systemd[1]: Starting dracut cmdline hook...
         Starting dracut cmdline hook...
[  OK  ] Reached target Swap.
[    2.749705] systemd[1]: Reached target Swap.
[    2.750262] systemd[1]: Starting Swap.
[    2.751027] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Started Setup Virtual Console.
[    2.756261] systemd[1]: Started Setup Virtual Console.
[  OK  ] Started Apply Kernel Variables.
[    2.759465] systemd[1]: Started Apply Kernel Variables.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    2.761320] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    2.762842] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
[    2.767075] systemd[1]: Started Create Static Device Nodes in /dev.
[  OK  ] Started Journal Service.
[    2.774299] systemd[1]: Started Journal Service.
[    2.804569] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
[    2.695474] dracut-cmdline[85]: Warning: 'serial' is deprecated and has been removed.
[    2.696609] dracut-cmdline[85]: Warning: To change the console use 'console=' instead.
[  OK  ] Started dracut cmdline hook.
         Starting dracut pre-udev hook...
[    2.943057] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.952103] Loading iSCSI transport class v2.0-870.
[    2.957714] iscsi: registered transport (tcp)
[    2.976982] FDC 0 is a S82078B
[    2.987853] No iBFT detected.
[    3.005241] async_tx: api initialized (async)
[    3.006582] xor: automatically using best checksumming function:
[    3.016525]    avx       : 33740.000 MB/sec
[    3.039526] raid6: sse2x1   gen() 15144 MB/s
[    3.056524] raid6: sse2x2   gen() 18628 MB/s
[    3.073524] raid6: sse2x4   gen() 21210 MB/s
[    3.090524] raid6: avx2x1   gen() 29902 MB/s
[    3.107525] raid6: avx2x2   gen() 33933 MB/s
[    3.124525] raid6: avx2x4   gen() 37796 MB/s
[    3.125047] raid6: using algorithm avx2x4 gen() (37796 MB/s)
[    3.125729] raid6: using avx2x2 recovery algorithm
[    3.166489] device-mapper: uevent: version 1.0.3
[    3.167273] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    3.200879] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.251665] RPC: Registered named UNIX socket transport module.
[    3.252370] RPC: Registered udp transport module.
[    3.252837] RPC: Registered tcp transport module.
[    3.253327] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  OK  ] Started dracut pre-udev hook.
[    3.313362] random: fast init done
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting dracut pre-trigger hook...
[  OK  ] Started dracut pre-trigger hook.
         Starting udev Coldplug all Devices...
         Mounting Configuration File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started udev Coldplug all Devices.
         Starting Device-Mapper Multipath Device Controller...
[    3.412773] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
         Starting Show Plymouth Boot Screen...
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Open-iSCSI iscsiuio Socket.
[    3.421041] virtio-pci 0000:00:05.0: virtio_pci: leaving for legacy driver
[  OK  ] Reached target Sockets.
[    3.424556] cryptd: max_cpu_qlen set to 100
[    3.425245] virtio-pci 0000:00:06.0: virtio_pci: leaving for legacy driver
[    3.431440] AVX2 version of gcm_enc/dec engaged.
[    3.432029] AES CTR mode by8 optimization enabled
[    3.435932] virtio-pci 0000:00:07.0: virtio_pci: leaving for legacy driver
[    3.439284] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[    3.456216] alg: No test for __generic-gcm-aes-aesni (__driver-generic-gcm-aes-aesni)
[    3.458335] scsi host0: ata_piix
[    3.459326] scsi host1: ata_piix
[    3.459809] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
[    3.460655] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
[  OK  ] Started Device-Mapper Multipath Device Controller.
         Starting Open-iSCSI...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
[  OK  ] Started Open-iSCSI.
         Starting dracut initqueue hook...
[    3.473313] 8021q: 802.1Q VLAN Support v1.8
[    3.544604] tsc: Refined TSC clocksource calibration: 3192.132 MHz
[    3.615665] ata1.00: ATAPI: QEMU DVD-ROM, 1.5.3, max UDMA/100
[    3.621026] ata1.00: configured for MWDMA2
[    3.625557] scsi 0:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     1.5. PQ: 0 ANSI: 5
[    3.670457] sr 0:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    3.672684] cdrom: Uniform CD-ROM driver Revision: 3.20
[    3.644461] dracut-initqueue[725]: mount: /dev/sr0 is write-protected, mounting read-only
[    3.827469] loop: module loaded
[  OK  ] Started dracut initqueue hook.
         Starting dracut pre-mount hook...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started dracut pre-mount hook.
[  OK  ] Reached target Initrd Root File System.
         Starting Reload Configuration from the Real Root...
[  OK  ] Started Reload Configuration from the Real Root.
[  OK  ] Reached target Initrd File Systems.
         Starting dracut mount hook...
[    4.006279] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Started dracut mount hook.
[  OK  ] Reached target Initrd Default Target.
         Starting dracut pre-pivot and cleanup hook...
[  OK  ] Started dracut pre-pivot and cleanup hook.
         Starting Cleaning Up and Shutting Down Daemons...
[  OK  ] Stopped target Timers.
         Starting Plymouth switch root service...
[  OK  ] Stopped Cleaning Up and Shutting Down Daemons.
[  OK  ] Stopped dracut pre-pivot and cleanup hook.
         Stopping dracut pre-pivot and cleanup hook...
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped target Initrd Default Target.
[  OK  ] Stopped dracut mount hook.
         Stopping dracut mount hook...
[  OK  ] Stopped dracut pre-mount hook.
         Stopping dracut pre-mount hook...
[  OK  ] Stopped dracut initqueue hook.
         Stopping dracut initqueue hook...
         Stopping Open-iSCSI...
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped target Slices.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Open-iSCSI iscsiuio Socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped target Local Encrypted Volumes.
[  OK  ] Stopped Apply Kernel Variables.
         Stopping Apply Kernel Variables...
[  OK  ] Stopped target Swap.
[  OK  ] Stopped target Local File Systems.
[  OK  ] Stopped Open-iSCSI.
         Stopping Device-Mapper Multipath Device Controller...
[  OK  ] Stopped Device-Mapper Multipath Device Controller.
[  OK  ] Stopped udev Coldplug all Devices.
         Stopping udev Coldplug all Devices...
[  OK  ] Stopped dracut pre-trigger hook.
         Stopping dracut pre-trigger hook...
         Stopping udev Kernel Device Manager...
[  OK  ] Stopped udev Kernel Device Manager.
[  OK  ] Stopped dracut pre-udev hook.
         Stopping dracut pre-udev hook...
[  OK  ] Stopped dracut cmdline hook.
         Stopping dracut cmdline hook...
[  OK  ] Stopped Create Static Device Nodes in /dev.
         Stopping Create Static Device Nodes in /dev...
[  OK  ] Stopped Create list of required sta...ce nodes for the current kernel.
         Stopping Create list of required st... nodes for the current kernel...
[  OK  ] Closed udev Control Socket.
[  OK  ] Closed udev Kernel Socket.
         Starting Cleanup udevd DB...
[  OK  ] Started Plymouth switch root service.
[  OK  ] Started Cleanup udevd DB.
[  OK  ] Reached target Switch Root.
         Starting Switch Root...
[    4.294444] systemd-journald[84]: Received SIGTERM from PID 1 (systemd).
[    4.608839] type=1403 audit(1538213719.423:2): policy loaded auid=4294967295 ses=4294967295
[    4.614947] systemd[1]: Successfully loaded SELinux policy in 123.741ms.
[    4.691217] systemd[1]: Relabelled /dev and /run in 10.613ms.

Welcome to CentOS Linux 7 (Core)!

[  OK  ] Stopped Switch Root.
[  OK  ] Stopped Journal Service.
         Starting Journal Service...
         Mounting Huge Pages File System...
[  OK  ] Reached target Timers.
[  OK  ] Reached target Swap.
[ INFO ] dev-virtio\x2dports-com.redhat.spice.0.device is not active.
[DEPEND] Dependency failed for Activation socket for spice guest agent daemon.
[  OK  ] Stopped target Switch Root.
[  OK  ] Stopped target Initrd Root File System.
         Mounting Temporary Directory...
[  OK  ] Created slice system-anaconda\x2dtmux.slice.
         Starting Read and set NIS domainname from /etc/sysconfig/network...
         Starting Create list of required st... nodes for the current kernel...
         Starting Apply Kernel Variables...
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.
[    4.868615] random: crng init donernel File Systems...

[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Reached target Paths.
         Mounting POSIX Message Queue File System...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Mounting Debug File System...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Stopped target Initrd File Systems.
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Read and set NIS domainname from /etc/sysconfig/network.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Rebuild Hardware Database...
         Starting Configure read-only root support...
         Starting Load/Save Random Seed...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Configure read-only root support.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Rebuild Hardware Database.
         Starting udev Coldplug all Devices...
[  OK  ] Started udev Coldplug all Devices.
         Starting Device-Mapper Multipath Device Controller...
         Starting udev Wait for Complete Device Initialization...
[  OK  ] Started Device-Mapper Multipath Device Controller.
[  OK  ] Started udev Wait for Complete Device Initialization.
         Starting Activation of DM RAID sets...
[  OK  ] Started Activation of DM RAID sets.
[  OK  ] Reached target Local File Systems.
         Starting Import network configuration from initramfs...
         Starting Migrate local SELinux poli...tructure to the new structure...
         Starting Rebuild Journal Catalog...
         Starting Tell Plymouth To Write Out Runtime Data...
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Migrate local SELinux polic... structure to the new structure.
[  OK  ] Started Rebuild Journal Catalog.
         Starting Update is Completed...
[  OK  ] Started Update is Completed.
[  OK  ] Started Import network configuration from initramfs.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Open-iSCSI iscsiuio Socket.
[  OK  ] Listening on Open-iSCSI iscsid Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting Hardware RNG Entropy Gatherer Daemon...
         Starting pre-anaconda logging service...
         Starting Terminate Plymouth Boot Screen...
         Starting Login Service...
[  OK  ] Started Anaconda NetworkManager configuration.
         Starting Anaconda NetworkManager configuration...
         Starting Network Manager...
         Starting Wait for Plymouth Boot Screen to Quit...
         Starting Service enabling compressing RAM with zRam...
         Starting Dump dmesg to /var/log/dmesg...