Net tap cleanup & proper error exit handling
This commit is contained in:
parent
2328b58eaa
commit
3a56fb9db8
3 changed files with 51 additions and 42 deletions
|
|
@ -11,7 +11,7 @@ var buildCmd = &cobra.Command{
|
|||
Use: "build",
|
||||
Short: "Build (set up) a VM image for local use. This needs to be run after the initial installation.",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
store := createStore()
|
||||
store := createStoreOrExit()
|
||||
|
||||
err := store.BuildVMImageWithInterruptHandler(vmDebugFlag, buildOverwriteFlag)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue