Open main menu

CDOT Wiki β

Changes

OPS245 Lab 2

33 bytes removed, 11:28, 3 June 2022
Updates centos4 image to OPS245 version.
# We will now learn how to download a compressed image file and XML configuration file and add it as a VM to the Virtual Machine Manager menu.
# Issue the following commands:<ul><li><b><code><span style="color:#3366CC;font-size:1.2em;">wget https://senecafts.senecacollege.ca/link/mpxZ1JBiCQUdrKDYPPX26z/download/centos4.qcow2.backup.gzJFlY3aG2CdKb3YSMVCmo1S</span></code></b></li><li><b><code><span style="color:#3366CC;font-size:1.2em;">wget https://raw.githubusercontent.com/OPS245/labs/main/centos4.xml</span></code></b></li></ul>
# Use gunzip with elevated privileges to decompress the qcow2 image file into the '''/var/lib/libvirt/images''' directory.
# Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">sudo virsh define centos4.xml</span></code></b>