# Root shell not coming up giving python errors for KVM instance

**URL:** <https://forum.virtualmin.com/t/root-shell-not-coming-up-giving-python-errors-for-kvm-instance/123549>\
**Category:** Cloudmin\
**Created:** [November 21, 2023, 3:03am UTC](https://forum.virtualmin.com/t/root-shell-not-coming-up-giving-python-errors-for-kvm-instance/123549 "2023-11-21T03:03:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![forlotto](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/forlotto/32/12067_2.png) [@forlotto](https://forum.virtualmin.com/u/forlotto)\
**Post date:** [November 22, 2023, 6:19am UTC](https://forum.virtualmin.com/t/root-shell-not-coming-up-giving-python-errors-for-kvm-instance/123549/4 "2023-11-22T06:19:49Z")

</div>

Updated the script in the other post to reflect this fix and a couple of other tidbits of nfo that should help things go a little smoother for the crew to do the script update “Hopefully” Just trying to throw a shoe in and help without trying to step on peoples toes.

> [@Bugs cloudmin Debian 12 and install script. Keeping track brainsheet](https://forum.virtualmin.com/t/things-to-run-before-installing-cloudmin-on-debian12-for-kvm/123562):
>
> The script below shirehosting’s comment is to remedy some of the oddities with Debian 12 (not all of them) sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target This will ensure suspend is disabled as it is wonky in debian 12 from my expirence and your server will shut down if not in use. apt install bridge-utils Will need this for setting up bridges. sudo apt install qemu-system libvirt-daemon-system This will enable you to setup KVM instances as cloudmin do…

Contains a lot of discovery and info on Debian12 and the script as well as package issues and updates. Be it the right way or wrong way to go about it it should save them a bit of digging. That is my hopes.

---

_[View the full topic](https://forum.virtualmin.com/t/root-shell-not-coming-up-giving-python-errors-for-kvm-instance/123549)._
