Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAC=$(ifconfig eth0 | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}')
- cat << EOT > /etc/vmware/view-mandatory-config
- view.sslVerificationMode = "3"
- view.autoConnectDesktop = "TRUE"
- #view.autoConnectBroker = "TRUE"
- #view.kioskLogin = "TRUE"
- view.nonInteractive = "TRUE"
- #view.fullScreen = "TRUE"
- #view.nomenubar = "TRUE"
- view.defaultBroker = "viewcs"
- view.defaultUser = "CM-${MAC//:/_}"
- view.defaultPassword = "PASS"
- #view.defaultDomain = "DOMAIN"
- view.defaultAppSize = "1"
- view.defaultDesktopSize = "1"
- #view.defaultProtocol = "PCOIP"
- EOT
- vmware-view --protocol=PCOIP --fullscreen --kioskLogin --nomenubar -q
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement