+registry

This commit is contained in:
D4rk4 2020-08-02 02:21:54 +02:00
parent 0875c84796
commit 97ec2309f0
2 changed files with 3 additions and 1 deletions

View file

@ -103,6 +103,8 @@ d-i preseed/late_command string in-target /bin/sh -c " \
chmod +x /usr/bin/werf ; \
git clone https://git.ix.gs/public/coins-demo.git /opt/coins-demo ; \
cp /opt/coins-demo/contrib/mfg.service /etc/systemd/system/ ; \
mkdir -p /lib/systemd/system/docker.service.d ; \
sed -i 's/sock$/sock --insecure-registry="registry.k8s-demo.ix.gs"/' /lib/systemd/system/docker.service ; \
systemctl daemon-reload ; \
systemctl enable mfg.service ; \
systemctl enable serial-getty@ttyS0.service ; \