mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +00:00
bootstrapping...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
153a7875ce
commit
0015c68508
38
bootstrap.sh
38
bootstrap.sh
@ -1,3 +1,41 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
# XXX run self in nohup
|
||||||
|
# XXX TEST!
|
||||||
|
|
||||||
|
# bootstrap...
|
||||||
|
#QUIET=
|
||||||
|
#DRY_RUN=
|
||||||
|
ECHO_PREFIX="### "
|
||||||
|
function @ (){
|
||||||
|
if [ -z $DRY_RUN ] ; then
|
||||||
|
! [ $QUIET ] \
|
||||||
|
&& echo -e "${ECHO_PREFIX}$@"
|
||||||
|
"$@"
|
||||||
|
else
|
||||||
|
echo -e $@
|
||||||
|
fi
|
||||||
|
return $?
|
||||||
|
}
|
||||||
|
|
||||||
|
# XXX test if running as root...
|
||||||
|
|
||||||
|
apt update
|
||||||
|
apt upgrade
|
||||||
|
|
||||||
|
# XXX
|
||||||
|
apt install \
|
||||||
|
git make wget
|
||||||
|
|
||||||
|
#git clone git@github.com:flynx/proxmox-utils.git
|
||||||
|
git clone https://github.com/flynx/proxmox-utils.git
|
||||||
|
|
||||||
|
cd proxmox-utils
|
||||||
|
|
||||||
|
source ./.pct-helpers
|
||||||
|
|
||||||
|
|
||||||
|
# XXX create bootstrap gate...
|
||||||
|
# XXX
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user