You are not logged in.

#1 2013-11-12 16:33:26

developej
Member
Registered: 2011-10-02
Posts: 68

VirtualBox - start vm on boot with systemd

Hey,

My /etc/systemd/system/vboxvmservice@.service looks like in https://wiki.archlinux.org/index.php/Vi … _a_service
(I changed <user> to my user)

I have a vm called "Arch Linux" and I can't get it to start.

# systemctl start vboxvmservice@Arch\ Linux
# systemctl start vboxvmservice@'Arch Linux'
# systemctl start vboxvmservice@"Arch Linux"

Everything gives this error:

VBoxManage: error: Could not find a registered machine named ...

edit: \x20 and \\x20 didn't help
edit2: and I know that the service is ok, since it works if I start vm with UUID. It's just that I want to do it with names, not UUIDs

So, how do I fix this?
Thanks

edit3: I ended up renaming vm to "archilnux", it's just easier that way smile

Last edited by developej (2013-11-12 19:51:50)

Offline

#2 2013-11-18 15:56:34

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: VirtualBox - start vm on boot with systemd

I have encountered a similar problem recently, it generally looks like, as if systemd didn't like blanks after an @.

Offline

#3 2016-06-23 14:41:40

RafalRakowski
Member
Registered: 2016-06-23
Posts: 1

Re: VirtualBox - start vm on boot with systemd

Same problem, only UUID helped.

Offline

Board footer

Powered by FluxBB