This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create custom bootable iso for CentOS 7 with kickstart | |
if [ $# -lt 2 ] | |
then | |
echo "Usage1: $0 path2iso path2kickstart" | |
exit 1 | |
else | |
if [ ! -f $1 ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create delegated administrator on Zimbra 8.x FOSS Edition | |
# Credits to barrydegraaff: https://gist.github.com/barrydegraaff/d1549d7e3f1951067da2 | |
# Warning: MUST be use as ZIMBRA user and DOMAIN variable MUST be set | |
# Delegated admin can create/modify accounts, alias, distribution lists and resources | |
# Domain of concern to be changed | |
DOMAIN='example.com' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create custom bootable iso for CentOS 7 with kickstart | |
if [ $# -lt 2 ] | |
then | |
echo "Usage1: $0 path2iso path2kickstart" | |
exit 1 | |
else | |
if [ ! -f $1 ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mandatory Files: copied from Centos7 ISO installer (minimal/full dvd) | |
# | |
# $ROOT/cdroot/.discinfo | |
# $ROOT/cdroot/LiveOS/squashfs.img | |
# $ROOT/cdroot/isolinux/boot.cat | |
# $ROOT/cdroot/isolinux/initrd.img | |
# $ROOT/cdroot/isolinux/isolinux.bin | |
# $ROOT/cdroot/isolinux/vmlinuz | |
# |