Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    It is preferred to include an answer here and optionally provide links to more detailed information. Link targets disappear without notice, making your answer worthless. Commented Jun 3, 2013 at 11:53
  • Well, the problem is I cannot really copy the whole systemd file in link 1 here, or should I do this? Commented Jun 3, 2013 at 14:04
  • Well, unfortunately "link rot" is a huge problem in those cases... I think, for posterity, the following two lines catch the basic idea behind your Link: It's creating a service that uses VBoxHeadless -s %i to start and VBoxManage controlvm %i savestate to stop the VM. Commented Jun 5, 2013 at 19:03
  • Tried this in Debian Jessie, but it didn't work. Created user and group, set ownership of all files (including /dev/vbox*). But when the service starts, it cannot find the VM, even though the name is right. Will use the normal init script after all. Commented Dec 9, 2015 at 18:36