Add --enable-kernel-install to container start
This commit is contained in:
parent
7d7b621423
commit
d11df74ecd
|
|
@ -236,9 +236,9 @@ export async function start(): Promise<void> {
|
|||
export async function ensure(log?: (msg: string) => void): Promise<void> {
|
||||
requireContainer()
|
||||
|
||||
// Ensure the container daemon is running
|
||||
if (DEBUG) await $`container system start`.nothrow()
|
||||
else await $`container system start`.nothrow().quiet()
|
||||
// Ensure the container daemon is running (--enable-kernel-install skips interactive prompt)
|
||||
if (DEBUG) await $`container system start --enable-kernel-install`.nothrow()
|
||||
else await $`container system start --enable-kernel-install`.nothrow().quiet()
|
||||
|
||||
const s = await status()
|
||||
if (s === "running") return
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user