1
0
forked from pool/virtualbox
Go to file
Larry Finger 86ec07d5cd Accepting request 662706 from home:frispete:kernel
You missed my latest changes...

- proper permissions for /etc/vbox/*.cfg

- remove ambiguous labels in vboxdrv: fixes restart and such
- make autostarting synchronous again
- improve README.autostart
- add new autostart variables to the existing /etc/default/virtualbox
  in %post, if missing

OBS-URL: https://build.opensuse.org/request/show/662706
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=460
2019-01-05 01:23:29 +00:00
_constraints - Fix several problems with the startup scripts. The SysV form is no longer used for most packages as proper systemd 2017-07-10 18:31:23 +00:00
_service Accepting request 214248 from home:saschpe:branches:Virtualization 2014-01-19 00:52:50 +00:00
.gitattributes osc copypac from project:home:mseben:branches:Virtualization package:virtualbox-ose revision:7 2010-12-23 10:08:49 +00:00
.gitignore osc copypac from project:home:mseben:branches:Virtualization package:virtualbox-ose revision:7 2010-12-23 10:08:49 +00:00
change_default_net_adapter.patch Add file "change_default_net_adapter.patch" to set PCnet-FAST III as the default adapter. This helps with the vulnerability listed in bsc#1115041. 2018-11-09 22:28:17 +00:00
fix_32_bit_builds.patch - Version bump to 5.2.20 (released October 16 2018 by Oracle) 2018-10-29 20:13:27 +00:00
Fix_for_server_1.19.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
fix_usb_rules.sh - Revise warning screen concerning USB passthru - fixes bnc#1041137. 2017-06-08 22:26:55 +00:00
fixes_for_4.20.patch - Fix the changes for kernel 4.20 API differences. The previous version compiled but had an error in logic. 2018-11-27 01:05:54 +00:00
fixes_for_python.patch - Add file "fix_32_bit_builds.patch" to fix error in 32-bit builds. 2018-06-19 17:53:58 +00:00
fixes_for_Qt5.11.patch - Version update to 5.2.14 (released July 02 2018 by Oracle) 2018-07-03 01:22:43 +00:00
gcc5-real-support.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
internal-headers.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
modify_for_4_8_bo_move.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
README.autostart Accepting request 655353 from home:frispete:kernel 2019-01-03 03:21:14 +00:00
remove_vbox_video_build.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
smap.diff Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
switch_to_python3.4+.patch Accepting request 655353 from home:frispete:kernel 2019-01-03 03:21:14 +00:00
UserManual.pdf - Version bump to 5.2.22 (released November 09 2018 by Oracle) 2018-11-09 20:17:28 +00:00
vbox_fix_for_gcc7.patch - Version bump to 5.1.24 (released 2017-07-18 by Oracle) 2017-07-19 04:47:23 +00:00
vbox_remove_smp_mflags.patch - Removed "vbox_fix_4.10_api_changes.patch" - fixed upstream 2017-03-09 18:59:35 +00:00
vbox-default-os-type.diff Accepting request 414498 from home:luizluca:branches:Virtualization 2016-07-26 16:15:55 +00:00
vbox-deprec-gsoap-service-proxies.diff Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
vbox-disable-updates.diff - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
vbox-fpie.diff Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
vbox-gsoapssl-deps.diff Accepting request 414498 from home:luizluca:branches:Virtualization 2016-07-26 16:15:55 +00:00
vbox-no-build-dates.diff - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
vbox-permissions_warning.diff - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
vbox-python-detection.diff - Fixes for VUL-0: CVE-2016-5501,CVE-2016-5538,CVE-2016-5605,CVE-2016-5608,CVE-2016-5610,CVE-2016-5611,CVE-2016-561313 2016-10-19 15:57:33 +00:00
vbox-smc-napa.diff Accepting request 414498 from home:luizluca:branches:Virtualization 2016-07-26 16:15:55 +00:00
vbox-usb-warning.diff - Add file "fix_32_bit_builds.patch" to fix error in 32-bit builds. 2018-06-19 17:53:58 +00:00
vbox-vboxadd-init-script.diff - Version bump to 5.2.22 (released November 09 2018 by Oracle) 2018-11-09 20:17:28 +00:00
vbox-vboxdrv-init-script.diff - Version update to 5.2.14 (released July 02 2018 by Oracle) 2018-07-03 01:22:43 +00:00
vbox-vboxweb-init-script.diff - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
vboxadd-service.service - Fix several problems with the startup scripts. The SysV form is no longer used for most packages as proper systemd 2017-07-10 18:31:23 +00:00
vboxconfig.sh - Fix autostart of VMs, which is no longer handled by the vboxes.service. 2018-09-20 19:27:52 +00:00
vboxdrv.service - Fix several problems with the startup scripts. The SysV form is no longer used for most packages as proper systemd 2017-07-10 18:31:23 +00:00
vboxdrv.sh Accepting request 662706 from home:frispete:kernel 2019-01-05 01:23:29 +00:00
vboxguestconfig.sh - Add file "fix_32_bit_builds.patch" to fix error in 32-bit builds. 2018-06-19 17:53:58 +00:00
virtualbox-60-vboxdrv.rules - The printing of the warning about the insecurity in USB passthru had been lost. As most people are likely to want that feature, 2017-01-14 02:16:29 +00:00
virtualbox-60-vboxguest.rules Accepting request 123332 from home:mseben:branches:Virtualization 2012-06-03 08:17:28 +00:00
VirtualBox-5.2.22-patched.tar.bz2 - Version bump to 5.2.22 (released November 09 2018 by Oracle) 2018-11-09 20:17:28 +00:00
virtualbox-default.virtualbox Accepting request 655353 from home:frispete:kernel 2019-01-03 03:21:14 +00:00
virtualbox-guest-kmp-files Accepting request 572312 from home:wolfi323:branches:Virtualization 2018-02-04 01:25:16 +00:00
virtualbox-guest-preamble Accepting request 424220 from home:michal-m:branches:Virtualization 2016-09-01 12:30:21 +00:00
virtualbox-host-kmp-files - Move location of kernel modules from /lib/modules/$(uname -r)/misc to 2017-12-09 01:13:47 +00:00
virtualbox-host-preamble Accepting request 424220 from home:michal-m:branches:Virtualization 2016-09-01 12:30:21 +00:00
virtualbox-LocalConfig.kmk - Build with system libs for X instead of localy built ones. 2015-05-06 20:07:21 +00:00
virtualbox-patch-source.sh osc copypac from project:home:mseben:branches:Virtualization package:virtualbox-ose revision:7 2010-12-23 10:08:49 +00:00
virtualbox-rpmlintrc Accepting request 136607 from home:seife:branches:Virtualization 2012-10-02 14:03:09 +00:00
virtualbox-sed-params.patch - Version update to 5.2.14 (released July 02 2018 by Oracle) 2018-07-03 01:22:43 +00:00
virtualbox-snpritnf-buffer-overflow.patch Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
virtualbox-system-x.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
virtualbox-wrapper.sh - Revise warning screen concerning USB passthru - fixes bnc#1041137. 2017-06-08 22:26:55 +00:00
virtualbox.changes Accepting request 662706 from home:frispete:kernel 2019-01-05 01:23:29 +00:00
virtualbox.spec Accepting request 662706 from home:frispete:kernel 2019-01-05 01:23:29 +00:00

Prerequisites
=============

Users, that want to use the VirtualBox autostart feature, have to be
members of the vboxusers group.

E.g.:
sudo usermod -aG vboxusers USERNAME

Preparation
===========

For each autostart user, add a section in /etc/vbox/autostart.cfg:

USERNAME = {
allow = true
}

Users work
==========

The *first* time a user configures autostart, the command: 
VBoxManage setproperty autostartdbpath /etc/vbox 
needs to be run. 

Note: The autostart options are stored in the /etc/vbox file, and in the 
VM itself. If moving a VM, these options may need to be set again.

Prepare a VM to start automatically:
VBoxManage modifyvm <uuid|vmname> --autostart-enabled <on|off>

Choose a shut down mode:
VBoxManage modifyvm <uuid|vmname> --autostop-type <disabled|savestate|poweroff|acpishutdown>

Restart the vboxdrv service to start the VMs in question
sudo service vboxdrv restart