mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 07:45:27 -04:00
AB#2426 Mini Constellation (#198)
* Mini Constellation commands to quickly deploy a local Constellation cluster * Download libvirt container image if not present locally * Fix libvirt KVM permission issues by creating kvm group using host GID inside container * Remove QEMU specific values from state file Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Nils Hanke <nils.hanke@outlook.com>
This commit is contained in:
parent
0c651c55dd
commit
0edae36e43
23 changed files with 469 additions and 139 deletions
24
cli/internal/cmd/mini.go
Normal file
24
cli/internal/cmd/mini.go
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package cmd
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
// NewMiniCmd creates a new cobra.Command for managing mini Constellation clusters.
|
||||
func NewMiniCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "mini",
|
||||
Short: "Manage mini Constellation clusters",
|
||||
Long: "Manage mini Constellation clusters.",
|
||||
Args: cobra.ExactArgs(0),
|
||||
}
|
||||
|
||||
cmd.AddCommand(newMiniUpCmd())
|
||||
cmd.AddCommand(newMiniDownCmd())
|
||||
|
||||
return cmd
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue