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
%W{ Root CA }.each do |cert_store| | |
powershell_script "import_cert_to_#{cert_store}" do | |
code <<-EOH | |
$certpath = "#{Chef::Config[:file_cache_path]}\\self_cert.cer" | |
$certstore = "cert:\\LocalMachine\\#{cert_store}" | |
Import-Certificate -FilePath $certpath -CertStoreLocation $certstore | |
EOH | |
end | |
end |
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
Verifying that +galenemery is my blockchain ID. https://onename.com/galenemery |
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
{"ssl": {"verify": false}} |
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
# On the remote node/server: | |
winrm quickconfig -q | |
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="300"}' | |
winrm set winrm/config '@{MaxTimeoutms="1800000"}' | |
# When NOT USING a domain-based authentication (i.e., from Linux/Unix to Windows node): | |
winrm set winrm/config/service/auth '@{Basic="true"}' |
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
knife azure server create --azure-dns-name galen-1235 --azure-vm-size Medium -I a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-201412.01-en.us-127GB.vhd --azure-service-location 'North Central US' --winrm-user galen --winrm-password '@@@@@@@@' --bootstrap-protocol winrm --bootstrap-protocol cloud-api -r 'recipe[chef-client]' |
NewerOlder