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
# copy and paste oneliner below to run | |
# curl -s https://gist.githubusercontent.com/ilude/32aec45964bc1207810f7e6e49544064/raw/%21proxmox_setup.sh?$(date +%s) | /bin/bash -s | |
# Disable Commercial Repo | |
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list | |
# Add PVE Community Repo | |
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list | |
# setup no nag script to run on upgrade |
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
#!/bin/sh | |
if [ "$#" -eq 1 ]; then stdinmsg=$(cat); fi | |
exec <"$0" || exit; read v; read v; read v; exec /usr/bin/osascript - "$@" "$stdinmsg"; exit | |
-- another way of waiting until an app is running | |
on waitUntilRunning(appname, delaytime) | |
repeat until my appIsRunning(appname) | |
tell application "Messages" to close window 1 | |
delay delaytime | |
end repeat |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": "ec2:*", | |
"Effect": "Allow", | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Deny", |
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
PS C:\> docker run -it --name mssqlContainer -p 1433:1433 mssql2016 cmd | |
docker: Error response from daemon: Cannot start container fb1654ef910f8139760be51111a62676539d59961861bb32ee2ad83c510a2 | |
06f: HCSShim::CreateComputeSystem - Win32 API call returned error r1=2147943568 err=Element not found. id=fb1654ef910f81 | |
39760be51111a62676539d59961861bb32ee2ad83c510a206f configuration={"SystemType":"Container","Name":"fb1654ef910f8139760be | |
51111a62676539d59961861bb32ee2ad83c510a206f","Owner":"docker","IsDummy":false,"VolumePath":"\\\\?\\Volume{d1a0ee4c-d1a8- | |
11e5-9083-000c2955ac2a}","Devices":[{"DeviceType":"Network","Connection":{"NetworkName":"Virtual Switch","EnableNat":fal | |
se,"Nat":{"Name":"ContainerNAT","PortBindings":[{"Protocol":"TCP","InternalPort":1433,"ExternalPort":1433}]}},"Settings" | |
:null}],"IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\docker\\windowsfilter\\fb1654ef910f8139760be5 | |
1111a62676539d59961861bb32ee2ad83c510a206f","Layers":[{"ID":"53d5f254-3fb3-565f-a70e-77ad92b4f248","Path" |
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
#Name the hosts and setup provisioner | |
(0..$num_instances-1).each do |i| | |
config.vm.define vm_name = "%s-%02d" % ["cnvm-host", i] do |config| | |
config.vm.hostname = vm_name | |
if provider_is_virtualbox | |
config.vm.network :private_network, ip: "172.17.8.#{i+100}" | |
config.vm.forward_port("ssh",22,2222,{:auto => true,:adapter => 2}) | |
end | |
<insert other config bits here> |
This file has been truncated, but you can view the full file.
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
(00.000274) Added /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd ext mount mapping | |
(00.000304) Added /sys/fs/cgroup/net_cls,net_prio:/sys/fs/cgroup/net_cls,net_prio ext mount mapping | |
(00.000309) Added /sys/fs/cgroup/blkio:/sys/fs/cgroup/blkio ext mount mapping | |
(00.000313) Added /sys/fs/cgroup/freezer:/sys/fs/cgroup/freezer ext mount mapping | |
(00.000324) Added /sys/fs/cgroup/memory:/sys/fs/cgroup/memory ext mount mapping | |
(00.000327) Added /sys/fs/cgroup/perf_event:/sys/fs/cgroup/perf_event ext mount mapping | |
(00.000331) Added /sys/fs/cgroup/cpu,cpuacct:/sys/fs/cgroup/cpu,cpuacct ext mount mapping | |
(00.000334) Added /sys/fs/cgroup/hugetlb:/sys/fs/cgroup/hugetlb ext mount mapping | |
(00.000338) Added /sys/fs/cgroup/cpuset:/sys/fs/cgroup/cpuset ext mount mapping | |
(00.000341) Added /sys/fs/cgroup/devices:/sys/fs/cgroup/devices ext mount mapping |
This file has been truncated, but you can view the full file.
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
(00.000400) Added eth0:veth2caf3cb@docker0 veth map | |
(00.000421) Added /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd/system.slice/docker.service ext mount mapping | |
(00.000426) Added /sys/fs/cgroup/freezer:/sys/fs/cgroup/freezer/system.slice/docker.service ext mount mapping | |
(00.000429) Added /sys/fs/cgroup/devices:/sys/fs/cgroup/devices/system.slice/docker.service ext mount mapping | |
(00.000431) Added /sys/fs/cgroup/net_cls,net_prio:/sys/fs/cgroup/net_cls,net_prio/system.slice/docker.service ext mount mapping | |
(00.000433) Added /sys/fs/cgroup/blkio:/sys/fs/cgroup/blkio/system.slice/docker.service ext mount mapping | |
(00.000434) Added /sys/fs/cgroup/perf_event:/sys/fs/cgroup/perf_event/system.slice/docker.service ext mount mapping | |
(00.000436) Added /sys/fs/cgroup/memory:/sys/fs/cgroup/memory/system.slice/docker.service ext mount mapping | |
(00.000438) Added /sys/fs/cgroup/cpu,cpuacct:/sys/fs/cgroup/cpu,cpuacct/system.slice/docker.service ext mount mapping | |
(00.000440) Added /sys/fs/cgroup/cpuset:/sys/fs/cgroup/cpuset/syst |
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
(00.000469) Added eth0:vetha3065c4@docker0 veth map | |
(00.000489) Added /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd/system.slice/docker.service ext mount mapping | |
(00.000495) Added /sys/fs/cgroup/freezer:/sys/fs/cgroup/freezer/system.slice/docker.service ext mount mapping | |
(00.000497) Added /sys/fs/cgroup/devices:/sys/fs/cgroup/devices/system.slice/docker.service ext mount mapping | |
(00.000499) Added /sys/fs/cgroup/net_cls,net_prio:/sys/fs/cgroup/net_cls,net_prio/system.slice/docker.service ext mount mapping | |
(00.000501) Added /sys/fs/cgroup/blkio:/sys/fs/cgroup/blkio/system.slice/docker.service ext mount mapping | |
(00.000503) Added /sys/fs/cgroup/perf_event:/sys/fs/cgroup/perf_event/system.slice/docker.service ext mount mapping | |
(00.000505) Added /sys/fs/cgroup/memory:/sys/fs/cgroup/memory/system.slice/docker.service ext mount mapping | |
(00.000506) Added /sys/fs/cgroup/cpu,cpuacct:/sys/fs/cgroup/cpu,cpuacct/system.slice/docker.service ext mount mapping | |
(00.000508) Added /sys/fs/cgroup/cpuset:/sys/fs/cgroup/cpuset/syst |
This file has been truncated, but you can view the full file.
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
(00.000125) Added /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd/system.slice/docker.service ext mount mapping | |
(00.000293) Added /sys/fs/cgroup/net_cls,net_prio:/sys/fs/cgroup/net_cls,net_prio/system.slice ext mount mapping | |
(00.000298) Added /sys/fs/cgroup/cpu,cpuacct:/sys/fs/cgroup/cpu,cpuacct/system.slice/docker.service ext mount mapping | |
(00.000301) Added /sys/fs/cgroup/freezer:/sys/fs/cgroup/freezer/system.slice ext mount mapping | |
(00.000304) Added /sys/fs/cgroup/memory:/sys/fs/cgroup/memory/system.slice/docker.service ext mount mapping | |
(00.000307) Added /sys/fs/cgroup/hugetlb:/sys/fs/cgroup/hugetlb/system.slice ext mount mapping | |
(00.000310) Added /sys/fs/cgroup/perf_event:/sys/fs/cgroup/perf_event ext mount mapping | |
(00.000313) Added /sys/fs/cgroup/devices:/sys/fs/cgroup/devices/system.slice/docker.service ext mount mapping | |
(00.000316) Added /sys/fs/cgroup/blkio:/sys/fs/cgroup/blkio/system.slice/docker.service ext mount mapping | |
(00.000319) Added /sys/fs/cgroup/cpuset:/sys/fs/cgroup/cpuset/system.slice ext mo |
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
(01.092041) 144: Restoring fd 21 (state -> create) | |
(01.092045) 8: Parsed 7fe995dea000-7fe995fea000 vma | |
(01.092076) 8: Parsed 7fe995fea000-7fe995feb000 vma | |
(01.092082) 8: Parsed 7fe995feb000-7fe995fef000 vma | |
(01.092087) 8: Parsed 7fe995fef000-7fe996030000 vma | |
(01.092092) 8: Parsed 7fe996030000-7fe996039000 vma | |
(01.092102) 8: Parsed 7fe996039000-7fe996238000 vma | |
(01.092107) 8: Parsed 7fe996238000-7fe996239000 vma | |
(01.092113) 8: Parsed 7fe996239000-7fe99623b000 vma | |
(01.092117) 8: Parsed 7fe99623b000-7fe99627c000 vma |
NewerOlder