This commit is contained in:
light
2019-04-11 15:43:51 +08:00
parent 34282cbb07
commit 68859e4b5c
9 changed files with 225 additions and 2 deletions
+2 -2
View File
@@ -14,9 +14,9 @@ virt-install --connect qemu:///system \
--name ws2019 --ram 2048 --vcpus 2 \
--network network=default,model=virtio \
--disk path=ws2019.qcow2,format=qcow2,device=disk,bus=virtio \
--cdrom cn_windows_server_2019_x64_dvd_4de40f33.iso \
--disk path=cn_windows_server_2019_x64_dvd_4de40f33.iso,device=cdrom \
--disk path=virtio-win-0.1.141.iso,device=cdrom \
--vnc --os-type windows --os-variant win2k12
--vnc --os-type windows
qemu-img convert -c -O qcow2 ws2019.qcow2 ws2019_sample.qcow2
+59
View File
@@ -0,0 +1,59 @@
server_addr: ngrok.hellolight.me:4443
trust_host_root_certs: false
tunnels:
ssh:
remote_port: 2101
proto:
tcp: 22
horizon:
remote_port: 8080
proto:
tcp: 80
keystone:
remote_port: 5000
proto:
tcp: 5000
glance:
remote_port: 9191
proto:
tcp: 9191
glance2:
remote_port: 9292
proto:
tcp: 9292
nova:
remote_port: 8774
proto:
tcp: 8774
nova2:
remote_port: 8778
proto:
tcp: 8778
nova3:
remote_port: 6080
proto:
tcp: 6080
neutron:
remote_port: 9696
proto:
tcp: 9696
mysql:
remote_port: 3306
proto:
tcp: 3306
gogs:
remote_port: 3000
proto:
tcp: 3000
git:
remote_port: 10022
proto:
tcp: 10022
phpadmin:
remote_port: 8090
proto:
tcp: 8090
# screen -dmS ngrok sudo ~/ngrok start ssh horizon keystone glance glance2 nova nova2 nova3 neutron gogs phpadmin git mysql