# What the exam hosts preset: the k alias and kubectl completion. Nothing else - $do, $now and # friends are yours to type, as on the day. [ -n "${PS1:-}" ] || return 0 alias k=kubectl if command -v kubectl >/dev/null 2>&1; then source <(kubectl completion bash) 2>/dev/null complete -o default -F __start_kubectl k 2>/dev/null fi # Image tasks: the exam hosts have podman and docker, used with sudo. Here both names are root's # podman, so `podman build`, `sudo podman build` and `docker build` all land in the same store - # the one the grader looks in. alias podman='sudo podman' alias docker='sudo podman' # candidate@cka0037 rather than candidate@cka0037-control-plane PS1='\u@'"${HOSTNAME%-control-plane}"':\w\$ '