![Dmitry Ukov](/assets/img/avatar_default.png)
This is just a frame for command that will execute docker container with ISO builder scripts Change-Id: I59a5c494785af3cbcffd3b9f6a488d93f73f4878
21 lines
515 B
Go
21 lines
515 B
Go
package bootstrap
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"opendev.org/airship/airshipctl/pkg/environment"
|
|
)
|
|
|
|
// NewBootstrapCommand creates a new command for bootstrapping airshipctl
|
|
func NewBootstrapCommand(rootSettings *environment.AirshipCTLSettings) *cobra.Command {
|
|
bootstrapRootCmd := &cobra.Command{
|
|
Use: "bootstrap",
|
|
Short: "Bootstrap ephemeral Kubernetes cluster",
|
|
}
|
|
|
|
ISOGenCmd := NewISOGenCommand(bootstrapRootCmd, rootSettings)
|
|
bootstrapRootCmd.AddCommand(ISOGenCmd)
|
|
|
|
return bootstrapRootCmd
|
|
}
|