Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vizhestkov:saline-images-uyuni-master-clean
server-saline-image
run_saline.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File run_saline.sh of Package server-saline-image
#!/bin/bash if [[ ! -z "$TZ" ]]; then timedatectl set-timezone $TZ fi cp -r /etc/saline.defaults/saline* /etc/salt/ mkdir --parents /run/salt/master /run/salt/pki/saline chown --recursive salt:salt /run/salt chmod 0750 /run/salt/pki/saline if [[ "$NOSSL" == "YES" ]]; then cat > /etc/salt/saline.d/restapi.conf <<EOL restapi: host: 0.0.0.0 disable_ssl: true EOL else cp /etc/pki/tls/certs/spacewalk.crt /run/salt/pki/saline/saline.crt cp /etc/pki/tls/private/spacewalk.key /run/salt/pki/saline/saline.key chown --recursive salt:salt /run/salt/pki/saline cat > /etc/salt/saline.d/restapi.conf <<EOL restapi: host: 0.0.0.0 ssl_crt: /run/salt/pki/saline/saline.crt ssl_key: /run/salt/pki/saline/saline.key EOL fi chown --recursive salt:salt /etc/salt/saline* exec /usr/bin/salined -l info
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor