SYS: Configure systems to launch virtual machines at boot.

Share this link

Note: This is an RHCSA 7 exam objective.

To launch a virtual machine called vm.example.com at boot, type the following command:

# virsh autostart vm.example.com

To disable this same launch at boot, type:

# virsh autostart vm.example.com --disable

To get the list of all the virtual machines, type:

# virsh list --all
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)
Loading...

Leave a Reply

Please Login to comment
  Subscribe  
Notify of

RHCSA7: Task of the day

Allowed time: 5 minutes.
Add 100MB of swap space to the machine using a new logical volume.

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a block backstore of 100MB called lv_iscsi with basic authentication, ext4 filesystem and standard firewall configuration.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...