set -e
-pwd
-ls
-whoami
-sudo whoami
+
cd pserver.flexible
+sudo bash ./lb_build.sh mrproper
sudo bash ./lb_build.sh
ls -larth tftpboot/debian-live/amd64/
ls -larth binary/live/
-
figlet "success"
BUILDDATE=$(date +%Y%m%d%H%M)
cp -v binary/live/filesystem.squashfs $BUILD_TARGET/
echo "Now rsyncing results to mgmt1..."
-#rsync --password-file /etc/rsynclivebuild-send.pass -av --delete /srv/mirror/live-build/ rsync://livebuild@10.1.1.1/livebuild/*
-rsync --password-file /etc/rsynclivebuild-send.pass -av /srv/mirror/live-build/ rsync://livebuild@10.1.1.1/livebuild/*
+rsync --password-file /etc/rsynclivebuild-send.pass -av --delete /srv/mirror/live-build/ rsync://livebuild@10.1.1.1/livebuild/*
figlet "rsync success"