Skip to content

Instantly share code, notes, and snippets.

@AD7six
Created August 13, 2014 10:30
Show Gist options
  • Save AD7six/7f19276339a2d1475306 to your computer and use it in GitHub Desktop.
Save AD7six/7f19276339a2d1475306 to your computer and use it in GitHub Desktop.
/etc/default/virtualbox - If you're bored shitless of virtualbox preventing your computer from shutting down cleanly; and concequently needing to check your disks on every boot - this is the file for you to edit
# Defaults for virtualbox initscript
# sourced by /etc/init.d/virtualbox
# installed at /etc/default/virtualbox by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Set this to 1 if you would like the virtualbox modules to be loaded by
# the init script.
LOAD_VBOXDRV_MODULE=1
# SHUTDOWN_USERS="foo bar"
# check for running VMs of user 'foo' and user 'bar'
# 'all' checks for all active users
# SHUTDOWN=poweroff
# SHUTDOWN=acpibutton
# SHUTDOWN=savestate
# select one of these shutdown methods for running VMs
# acpibutton and savestate causes the init script to wait
# 30 seconds for the VMs to shutdown
SHUTDOWN_USERS="" # <- OMG WHY DIDN'T I GET THE MEMO?
SHUTDOWN=poweroff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment