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/bash | |
# set -eo pipefail | |
export CONSUL_NUM_INSTANCES=${CONSUL_NUM_INSTANCES:-3} | |
echo " => stopping consul" | |
fleetctl stop -block-attempts=10 \ | |
$(eval echo "consul-server@{1..$CONSUL_NUM_INSTANCES}.service") \ | |
consul-agent.service | |
# FIXME: sometimes it takes awhile for systemd to stop things... |
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
# Reference: | |
# https://wiki.archlinux.org/index.php/installation_guide | |
# https://github.com/variadico/xpslinux | |
# https://gist.github.com/njam/85ab2771b40ccc7ddcef878eb82a0fe9 | |
# https://gist.github.com/brammitch/281e9a2f3aca57ae4a333fc63732f602 | |
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360) | |
# http://www.bhartiya.io/always-updated-arch-linux-tutorial/30411 | |
# Set a bigger font size on the arch usb bootup shell | |
# Setfont sun12x22 |