trantor commits

set vbox machine folder
backup functions
ssh announce
trantor
Kebler Network System Administrator 2021-04-14 11:16:37 -07:00
parent dc6613ea0f
commit a402e75060
3 changed files with 9 additions and 0 deletions

3
trantor/env/vbox.env vendored Normal file
View File

@ -0,0 +1,3 @@
export VBOX_MACHINE_FOLDER=/mnt/docker-vm-opt/vm
VBoxManage setproperty machinefolder $VBOX_MACHINE_FOLDER
# VBoxManage list systemproperties | grep "Default machine folder"

5
trantor/function/backup Normal file
View File

@ -0,0 +1,5 @@
backup_trantor () {
backup -s -o '\-v5' /data /backup/trantor/snapshots/data
backup -s -o '\-v5' /opt /backup/trantor/snapshots/opt
}

View File

@ -0,0 +1 @@
echo $USER logged into $(hostname)