VBox manual startup w/o snapshot

Light (argh!) script with some common things for any other Guest OS’es.

Do-not-forget-post. Looks like one-liner is not possible in this case 😉

Host OS: Solaris 11.3.

Guest OS: Windows XP 32bit SP3 (VDI already created).

openssl is in use for generation uniq id’s for each fresh guest instance, bit overcomplicated (prefer to use *.lock file as best practice), but in my case this seems to be better way 😉

VDI images and Guest OS base directory is located in /storarray/global/vms. Every time guest OS is shutting down base folder removed too.

Same kind of scripting was used very long time ago in own Poor-Man-VDI project (looks like it works until now, surpise, for sure).

Also, for testing purposes, i’d prefer to use ZFS snapshots (in case of ZFS VBox snapshots looks too complicated task, heh), but thus not covered here.

[pastacode lang=”bash” user=”ilyxascrat” repos=”VBox_cmd” path_id=”start_windows.bsh” revision=”ce6160e” highlight=”” lines=”” provider=”bitbucket”/]

Another example (partially) for ArchLinux_64:

Leave a Reply

Your email address will not be published. Required fields are marked *