From d60ed67fa4eeeba312646358316e49c0a6cbc6f6 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 20 Oct 2016 16:15:23 -0400 Subject: initial commit --- packaging.txt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packaging.txt (limited to 'packaging.txt') diff --git a/packaging.txt b/packaging.txt new file mode 100644 index 0000000..e7ba0d4 --- /dev/null +++ b/packaging.txt @@ -0,0 +1,30 @@ +File: /root/packaging.txt +Package: deployscripts.tgz +Author: bgstack15 +Startdate: 2016-10-20 +Title: Packaging information for deployscripts.tgz +Purpose: To describe how these scripts are stored, packaged, and deployed +History: 2014 I wrote shell scripts (adapting from a previous person's source scripts) that automate hard-coded information for a server +Usage: +Reference: bgscripts README.txt + "Building the Centos 7 Template.docx" +Improve: +Document: Below this line + +### PACKAGING the deployscripts in a tgz +( cd /mnt/scripts/template && rm -rf deployscripts.tgz && tar -zcf deployscripts.tgz .makecert.exp updateval.sh s*sh; ) + +### DEPLOYING from nfs hosted tgz +tar -zxC /root -f /mnt/scripts/template/deployscripts.tgz + +### DEPLOYING from scp tgz +scp -pr norite:/mnt/scripts/template/deployscripts.tgz /root + +tar -zxC /root -f /root/deployscripts.tgz + +### PACKAGING in a MASTER tgz +# This includes the git information and auxiliary info +mtgz=/mnt/scripts/template/deployscripts.master.tgz +rm "${mtgz}" +( cd $( dirname ${mtgz} ); +tar -X /mnt/scripts/template/.gitignore --no-recursion -zc -f "${mtgz}" * .makecert.exp ) -- cgit