ce2fa3d780
- Split from CaaSP image - add labes - include special etcd package - include etcd migraton script for kubeadm (disabled) OBS-URL: https://build.opensuse.org/request/show/717358 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/kubic-etcd-image?expand=0&rev=7
21 lines
479 B
Bash
21 lines
479 B
Bash
#!/bin/sh
|
|
|
|
#--------------------------------------
|
|
#test -f /.profile && . /.profile
|
|
|
|
#======================================
|
|
# Greeting...
|
|
#--------------------------------------
|
|
echo "Configure image: [$kiwi_iname]..."
|
|
|
|
for i in /usr/bin/etcdctl* ; do
|
|
ln -sf $i /usr/local/bin/`basename $i`
|
|
done
|
|
for i in /usr/sbin/etcd* ; do
|
|
ln -sf $i /usr/local/bin/`basename $i`
|
|
done
|
|
ln -sf /usr/bin/migrate /usr/local/bin/
|
|
ln -sf /usr/bin/migrate-if-needed.sh /usr/local/bin/
|
|
|
|
exit 0
|