8.3.5. Deleting Virtual Systems


Deleting a virtual system is a multi-step process.
  1. First you must shut down the virtual system that you wish to delete. You may do this by browsing to the host system's profile in the Satellite web interface, clicking on the virtualization tab, and checking off the virtual systems that you would like to delete. Finish shutting down by clicking the Shutdown Systems button at the bottom of the screen.
  2. Next, delete the virtual system from Satellite. This is accomplished by checking off the virtual system's checkbox and clicking the Delete System button at the bottom of the screen>

    Note

    Please allow for at least two minutes between shutting down a virtual system and deleting it. Otherwise, the virtual system may not shut down properly and you will delete it while it is running. If you delete a virtual system from Satellite while it is running, it will reappear on the Satellite the next time it checks in. If this happens, simply shutdown the system, wait two minutes, and delete it again.
  3. Delete the disk image for the virtual system you would like to delete. You will find the disk image for guest1, for example, at the following location on the host system:
    /var/lib/xen/disk-images/guest1.disk
    
    Copy to Clipboard Toggle word wrap
    Delete it with the following command:
    rm /var/lib/xen/disk-images/guest1.disk
    
    Copy to Clipboard Toggle word wrap
  4. Finally, you must delete the RHN configuration files from the host system. To locate the RHN configuration file for guest1, run the following command:
    grep guest1 /etc/sysconfig/rhn/virt/*.xml
    
    Copy to Clipboard Toggle word wrap
    Then delete the file indicated. For example:
    rm /etc/sysconfig/rhn/virt/14e5cfbf72342515236ad74b260c2f6b.xml
    
    Copy to Clipboard Toggle word wrap
  5. You have successfully deleted a guest system from your host system and from Satellite.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat