summaryrefslogtreecommitdiff
path: root/actions/debootstrap_action.go
diff options
context:
space:
mode:
Diffstat (limited to 'actions/debootstrap_action.go')
-rw-r--r--actions/debootstrap_action.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/actions/debootstrap_action.go b/actions/debootstrap_action.go
index b4d6730..02cbb15 100644
--- a/actions/debootstrap_action.go
+++ b/actions/debootstrap_action.go
@@ -81,11 +81,6 @@ func (d *DebootstrapAction) RunSecondStage(context debos.DebosContext) error {
"--no-check-gpg",
"--second-stage"}
- if d.Components != nil {
- s := strings.Join(d.Components, ",")
- cmdline = append(cmdline, fmt.Sprintf("--components=%s", s))
- }
-
c := debos.NewChrootCommandForContext(context)
// Can't use nspawn for debootstrap as it wants to create device nodes
c.ChrootMethod = debos.CHROOT_METHOD_CHROOT