mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-30 13:56:46 +00:00
Drop `hyperkit` from the `linuxkit run` invocation, thus causing the linuxkit tool to pick the platform's default backend (which is qemu on my Linux system, which works better than hyperkit in this environment). Signed-off-by: Ian Campbell <ian.campbell@docker.com>
9 lines
257 B
Bash
Executable File
9 lines
257 B
Bash
Executable File
#!/bin/bash -eu
|
|
[ "${#@}" -gt 1 ] || (echo "Usage: ${0} <node> <join_args>" ; exit 1)
|
|
name="node-${1}"
|
|
shift
|
|
disk="kube-${name}-disk.img"
|
|
set -x
|
|
rm -f "${disk}"
|
|
../../bin/linuxkit run -cpus 2 -mem 4096 -disk-size 4096 -disk "${disk}" -data "${*}" kube-node
|