how to (properly) shut down a fedora 20 virtual machine?
Joe Zeff
joe at zeff.us
Tue Dec 17 19:30:43 UTC 2013
On 12/17/2013 11:16 AM, Chris Murphy wrote:
> If you do it within the VM, what result do you get with 'poweroff'? systemd maps init 0 to poweroff, as of course there is no init with systemd, but it maintains compatibility with init scripts so I expect init 0 to work the same as poweroff.
I don't know how the mapping is done, but if it were me, init would be a
simple bash script with a case statement that made the requested system
call depending on the argument. Just a thought.
More information about the users
mailing list