parent
c99c9e2d38
commit
931e1be3c3
7 changed files with 102 additions and 1 deletions
12
test/vm.install
Normal file
12
test/vm.install
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# image-customize script to enable cockpit in test VMs
|
||||
# The starter-kit RPM will be installed separately
|
||||
set -eu
|
||||
|
||||
# don't force https:// (self-signed cert)
|
||||
printf "[WebService]\\nAllowUnencrypted=true\\n" > /etc/cockpit/cockpit.conf
|
||||
|
||||
if type firewall-cmd >/dev/null 2>&1; then
|
||||
firewall-cmd --add-service=cockpit --permanent
|
||||
fi
|
||||
systemctl enable cockpit.socket
|
||||
Loading…
Add table
Add a link
Reference in a new issue