This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
items: | |
- apiVersion: cluster.x-k8s.io/v1beta1 | |
kind: Machine | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"cluster.x-k8s.io/v1beta1","kind":"Machine","metadata":{"annotations":{"cluster-x.k8s.io/paused":"true"},"labels":{"cluster.x-k8s.io/cluster-name":"mad-cluster1","cluster.x-k8s.io/control-plane":"true"},"name":"cluster1-k8s-master-1","namespace":"default"},"spec":{"bootstrap":{"configRef":{"name":"kubeadmconfig-dummy"},"dataSecretName":"mad-cluster1-dummy-secret"},"clusterName":"mad-cluster1","infrastructureRef":{"apiVersion":"infrastructure.cluster.x-k8s.io/v1alpha5","kind":"OpenStackMachine","name":"cluster1-k8s-master-1","namespace":"default"},"providerID":"openstack:///e1a417f4-7d62-4a6a-9cf4-a06a509b56cf"}} | |
creationTimestamp: "2022-06-10T14:07:59Z" | |
finalizers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#/etc/NetworkManager/dispatcher.d/02-docker-dns | |
case $1 in | |
eth0|wlan0) | |
case $2 in | |
up) | |
dns=$(echo $IP4_NAMESERVERS | awk -F, '{ for(i = 1; i <= NF; i++) { print "\""$i"\""; } }'|paste -d, -s) | |
sed -i 's/.*dns.*/ "dns": ['$dns'],/' /etc/docker/daemon.json | |
systemctl restart docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install | |
text | |
lang en_US.UTF-8 | |
keyboard sv-latin1 | |
network --onboot yes --device eth0 --bootproto dhcp --noipv6 | |
rootpw changeit | |
firewall --service=ssh | |
authconfig --enableshadow --passalgo=sha512 | |
selinux --enforcing | |
timezone --utc Europe/Stockholm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connect | |
/interfaces=/interface=httpspub:add(inet-address="0.0.0.0") | |
/interfaces=/interface=httpspriv:add(inet-address="0.0.0.0") | |
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=redirect-socket, value="httpspriv") | |
reload | |
/core-service=management/security-realm=SSLRealm:add() | |
/core-service=management/security-realm=SSLRealm/server-identity=ssl:add(keystore-path="${jboss.server.config.dir}/keystore/keystore.jks", keystore-password="serverpwd", alias="localhost") | |
/core-service=management/security-realm=SSLRealm/authentication=truststore:add(keystore-path="${jboss.server.config.dir}/keystore/truststore.jks", keystore-password="changeit") | |
/socket-binding-group=standard-sockets/socket-binding=httpspriv:add(port="8443",interface="httpspriv") | |
/subsystem=undertow/server=default-server/https-listener=httpspriv:add(socket-binding=httpspriv, security-realm="SSLRealm", verify-client=REQUIRED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install | |
text | |
lang en_US.UTF-8 | |
keyboard sv-latin1 | |
network --onboot yes --device eth0 --bootproto dhcp --noipv6 | |
rootpw changeit | |
firewall --service=ssh | |
authconfig --enableshadow --passalgo=sha512 | |
selinux --enforcing | |
timezone --utc Europe/Stockholm |