Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
c6dee247
Commit
c6dee247
authored
Apr 08, 2023
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kvm: port fixup
parent
35cf7722
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
software/kvm/buildout.hash.cfg
software/kvm/buildout.hash.cfg
+1
-1
software/kvm/instance-kvm.cfg.jinja2
software/kvm/instance-kvm.cfg.jinja2
+14
-2
No files found.
software/kvm/buildout.hash.cfg
View file @
c6dee247
...
...
@@ -19,7 +19,7 @@ md5sum = abd8493f35e153a5984ed22c8fe49792
[template-kvm]
filename = instance-kvm.cfg.jinja2
md5sum =
900faa43cd9bb599aa7be0cdc64531bf
md5sum =
780332c37e5b7ad4f799bab417685fe9
[template-kvm-cluster]
filename = instance-kvm-cluster.cfg.jinja2.in
...
...
software/kvm/instance-kvm.cfg.jinja2
View file @
c6dee247
...
...
@@ -668,12 +668,18 @@ context =
raw docroot {{ novnc_location }}
raw mime {{ nginx_mime }}
[kvm-nginx-port]
recipe = slapos.cookbook:free_port
minimum = 6080
maximum = 6100
ip = {{ partition_ipv6 }}
[nginx-params]
path-pid = ${directory:run}/nginx.pid
path-error-log = ${directory:log}/nginx-error.log
path-access-log = ${directory:log}/nginx-access.log
ip = ${slap-network-information:global-ipv6}
port =
6080
port =
${kvm-nginx-port:port}
websocket-ip = ${kvm-parameter-dict:vnc-ip}
websocket-port = ${kvm-parameter-dict:vnc-websocket-port}
websocket-path = websockify
...
...
@@ -1081,6 +1087,12 @@ md5sum = {{ bootstrap_script_url[1] }}
name = vm-bootstrap
log = ${directory:public}/ansible/vm-bootstrap.log
[kvm-slapos-parameter-port]
recipe = slapos.cookbook:free_port
minimum = 8081
maximum = 8101
ip = {{ partition_ipv6 }}
[slap-parameter]
# Default values if not specified
frontend-software-type = RootSoftwareInstance
...
...
@@ -1131,7 +1143,7 @@ external-disk = {}
# Help to get some configuration files into the vm from http
enable-http-server = False
httpd-port =
8081
httpd-port =
${kvm-slapos-parameter-port:port}
# for auto config, the public key file will be available in the VM via url http://10.0.2.100/authorized_key if use-nat = True
authorized-key =
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment