1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00
Jake Buchholz Göktürk 1d2618dfd0 * imds is now an executable script
* numerous imds script enhancements, including -h/--help
* check imds for secondary ipv4 & ipvs via ifupdown-ng executor
* simplify shell source to things /etc/conf.d/ and /lib/tiny-cloud/
* move log function to /lib/tiny-cloud/common
2022-01-24 19:07:35 -08:00

15 lines
174 B
Bash
Executable File

#!/bin/sh
# vim: set ts=8 noet:
# Tiny Cloud IMDS ifupdown-ng executor
case "$PHASE" in
post-up)
/sbin/imds-net-sync
;;
pre-down)
/sbin/imds-net-sync -k
;;
*) ;;
esac