Skip to content

Instantly share code, notes, and snippets.

View abradshaw's full-sized avatar
💭
Moved to GitLab

ab abradshaw

💭
Moved to GitLab
View GitHub Profile
@abradshaw
abradshaw / setup-taiga-centos.sh
Created January 30, 2018 15:02 — forked from sink66/setup-taiga-centos.sh
Taiga.io minimum install & run commands / CentOS7.2
#!/bin/bash
# How to use
# 1. Replace the "YOURIP" to yourIP
#sed -i -e 's/YOURIP/192.168.x.x/g' setup-taiga-centos.sh
# 2. Run at the root
#source setup-taiga-centos.sh
OAUTH_SECRET=$(grep oauth_secret /etc/pulp/server.conf | grep -v "#" | awk '{print $2}')
FORWARDERS=$(for i in $(cat /etc/resolv.conf |grep nameserver|awk '{print $2}'); do echo --capsule-dns-forwarders $i; done)
FOREMAN_OAUTH_SECRET=$(grep oauth_consumer_secret /etc/foreman/settings.yaml | grep -v "#" | awk '{print $2}')
katello-installer -v \
--capsule-parent-fqdn $(hostname) \
--capsule-dns true \