This file contains hidden or 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
starting vmware tools install | |
Shell is elevated!! | |
Installed VMware cert... | |
Installing VMWare Tools... | |
Done Waiting for VMware tools to install | |
Done, but a reboot is necessary. | |
Installed VMware tools... |
This file contains hidden or 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
, | |
"vmx_data": { | |
"ethernet0.virtualdev" : "vmxnet3", | |
"scsi0.virtualdev" : "pvscsi", | |
"virtualhw.productcompatibility" : "hosted", | |
"virtualhw.version" : "10", | |
"vcpu.hotadd": "TRUE", | |
"mem.hotadd": "TRUE", | |
"memsize": "8192", | |
"numvcpus": "2", |
This file contains hidden or 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
.encoding = "UTF-8" | |
bios.bootorder = "hdd,CDROM" | |
checkpoint.vmstate = "" | |
cleanshutdown = "TRUE" | |
config.version = "8" | |
displayname = "Ubuntu1504" | |
ehci.pcislotnumber = "-1" | |
ehci.present = "FALSE" | |
ethernet0.addresstype = "generated" | |
ethernet0.bsdname = "en0" |
This file contains hidden or 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
# install powershellget | |
Get-PackageProvider -Name NuGet -ForceBootstrap | |
# allow repo install | |
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | |
# install PolicyFileEditor | |
Install-Module -Name PolicyFileEditor -Confirm:$false | |
# disable web results search bar |
This file contains hidden or 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
set -g mouse | |
set-option -g default-command "/opt/local/bin/reattach-to-user-namespace bash" |
This file contains hidden or 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
1. Pick a port and hack up your /etc/services file | |
Change existing port entry from | |
mbus 47000/udp # Message Bus | |
mbus 47000/tcp # Message Bus | |
to.. | |
ssh-47000 47000/udp # Alternate port SSH Remote Login Protocol | |
ssh-47000 47000/tcp # Alternate port SSH Remote Login Protocol |
This file contains hidden or 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
# remove troublesome 3rd party app store apps that cause sysprep to fail | |
if ([Environment]::OSVersion.Version -ge (new-object 'Version' 10,0)) | |
{ | |
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online | |
Get-AppxPackage -AllUsers | Remove-AppxPackage | |
} |
This file contains hidden or 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
# this file needs to be placed at the following path | |
# C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\ | |
Set-PSReadlineOption -TokenKind Parameter -ForegroundColor white | |
Set-PSReadlineOption -TokenKind Comment -ForegroundColor DarkGreen | |
Set-PSReadlineOption -TokenKind Keyword -ForegroundColor Green | |
Set-PSReadlineOption -TokenKind String -ForegroundColor DarkCyan | |
Set-PSReadlineOption -TokenKind Operator -ForegroundColor white | |
Set-PSReadlineOption -TokenKind Variable -ForegroundColor Green | |
Set-PSReadlineOption -TokenKind Command -ForegroundColor Yellow |