1. Try to use NetworkManager sleep command instead of shutting it down 2. Move sleep action details (which is VM-specific) to VM 3. Export it as qrexec service(s)