This session we are going to go over and deploy is using an ISO and kickstart install. This is different than a PXE install and does not require a PXE nor TFTP setup. In this example everything we are accessing is over NFS mounts but could very well have been local. Install using kickstart file … Continue reading Install RHEL 7 Guest on Centos 8 Server via Text Mode & Kickstart
Category: Scripting
One Liners for *nix
# Remove 1st Column awk 'BEGIN{FS=OFS="#"}{$2=$3=""}{print}')cat ldm_dump.o |awk 'BEGIN{FS=OFS=" "}{$1=""}{print}' # Create non-existent dirs for i in `cat /etc/vfstab|grep vx|awk '{print $3}'`; do mkdir $i; done # Uncompress and tar install gunzip -c prdhbs1_hbsdg.tar.gz|tar xvf - # Veritas vxprint -v |grep -v NAME|grep -v group |awk '{print $2" ", $5}' # Grow and extend Vol/FS … Continue reading One Liners for *nix
One Liners for Solaris
Get disks attached to HBA for i in `fcinfo hba-port |grep WWN|grep HBA|awk '{print $4}'`; do fcinfo remote-port -sl -p $i; done hostname;fcinfo hba-port |grep WWN|grep HBA|awk '{print $4}' Logical Domains Add Vnets from List for i in `ldm list |awk '{print $1}'|grep -v NAME|grep -v primary`; do ldm add-vnet linkprop=phys-state vnet0 public-vsw0 $i; ldm … Continue reading One Liners for Solaris
How to Run Commands Actively in Background on macOS or OS X
Long ago I wanted to run certain commands and output them to my desktop but not just statically I wanted it to update. There was and tynially still is a tool called Geektool that allowed you to accomplish this. Initially I had it on this tool but it went silent for quite awhile as far … Continue reading How to Run Commands Actively in Background on macOS or OS X