mirror of
https://github.com/kevin-leptons/lfs-auto.git
synced 2026-01-27 05:56:46 +00:00
24 lines
467 B
Bash
Executable File
24 lines
467 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# using : switch between activation of virtual machine
|
|
# params :
|
|
# $1 : active distribution name
|
|
# - ghost: active with ghost distribution
|
|
# - live: active with live distribution
|
|
# author : kevin.leptons@gmail.com
|
|
|
|
# bash options
|
|
set -e
|
|
|
|
case $1 in
|
|
"ghost" )
|
|
./vm.ghost.active.sh
|
|
;;
|
|
"live" )
|
|
./vm.live.active.sh
|
|
;;
|
|
* )
|
|
(>&2 echo distribution is not specify)
|
|
exit 1
|
|
esac
|