From the course: Linux System Engineer: Network Bonding, IPv6, Routing, and Virtual Systems
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Install Linux unattended in a guest VM
From the course: Linux System Engineer: Network Bonding, IPv6, Routing, and Virtual Systems
Install Linux unattended in a guest VM
- For this exercise, we'll be doing a non-interactive automated install of CentOS 7 into a guest VM using a downloaded .iso image and a Kickstart file. We will use the same CentOS 7 .iso image that we downloaded earlier in the course, as well as the Kickstart file from the exercise files .zip archive that we extracted. The complete command line for installing CentOS 7 via Kickstart is long, so let's discuss it. We have to elevate privileges to create a VM, so we prefix the line with sudo. The second highlighted section sets the name of the VM to centos7-ks to remind us we installed it with a Kickstart file. This is the amount of RAM for our guest VM, and this is the disk image that we will install into. Virt-install creates this for us. We could also use qemu-img to create the disk image ahead of time, which could give us more flexibility. We're setting the disk image format to qcow2, which provides file system snapshots, within provisioning. The size option sets the disk image size…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Install Linux interactively in a guest VM7m 44s
-
(Locked)
Use kickstart files to automate installs5m 25s
-
(Locked)
Install Linux unattended in a guest VM3m 37s
-
(Locked)
Create an FTP repository4m 16s
-
(Locked)
Configure Yum to use an FTP repository2m 11s
-
(Locked)
Install Linux from an FTP server3m 43s
-
(Locked)
Configure VM virtual graphics cards and terminals4m 24s
-
(Locked)
Manage virtual machines6m 31s
-
(Locked)
Before you go further: VM checklist1m 4s
-
-
-
-
-