File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ set_arch() {
1717 elif [[ $( uname -m) == " arm64" ]]; then
1818 export __mokarch=arm64
1919 fi
20+ else
21+ printf ' ERROR: Unknown OS type: %s\n' " ${__mokostype} " > " ${STDERR} "
22+ exit " ${ERROR} "
2023 fi
2124}
2225
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ build image options:
4343 Flags:
4444 --get-prebuilt-image - Instead of building a 'node' image
4545 locally, download it from a container registry instead.
46- --k8sver VERSION - The Kubernetes version, e.g. "1.32.0" or "1.32.1".
47- A previous version cannot be built from scratch. This option
46+ --k8sver VERSION - The Kubernetes version, e.g. "1.32.0"
47+ A previous version cannot be built from scratch hence this option
4848 must be used with '--get-prebuilt-image'. To build a previous
4949 version of kubernetes it must be built with a previous version
5050 of mok.
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ create cluster [flags] options:
137137 --with-lb - Add a haproxy load balancer. The software will be installed
138138 and set up to reverse proxy to the master node(s), unless
139139 --skiplbsetup is used.
140- --k8sver VERSION - The Kubernetes version, e.g. "1.32.0" or "1.32.1" .
140+ --k8sver VERSION - The Kubernetes version, e.g. "1.32.0".
141141 A previous version will need to be downloaded first with:
142142 mok build image --get-prebuilt-image --k8sver VERSION
143143 --masters NUM - The number of master containers to create.
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ MA_program_args() {
1717# MA_arg_1 getter outputs the first argument sent by the user.
1818# Used by _CU_podman_checks so it doesn't check for a podman machine
1919# if we're running 'machine' commands
20+ # FIXME: The command might not be the first argument. It could be '-p'
2021MA_arg_1 () {
2122 printf ' %s' " ${_MA[arg_1]} "
2223}
You can’t perform that action at this time.
0 commit comments