github.com/hashicorp/packer@v1.14.3/builder/null/ssh.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  package null
     5  
     6  import (
     7  	"github.com/hashicorp/packer-plugin-sdk/multistep"
     8  )
     9  
    10  func CommHost(host string) func(multistep.StateBag) (string, error) {
    11  	return func(state multistep.StateBag) (string, error) {
    12  		return host, nil
    13  	}
    14  }