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
cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-$1 | |
DEVICE=$1 | |
BOOTPROTO=static | |
NETMASK=255.255.255.0 | |
IPADDR=$2 | |
ONBOOT=yes | |
EOF |
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
vncviewer -nocursorshape -quality 0 -compresslevel 9 -encodings Tight -bgr233 localhost:5902 |