kubic-etcd-image/config.sh
Richard Brown ce2fa3d780 Accepting request 717358 from home:kukuk:container
- 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
2019-07-22 08:59:00 +00:00

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