Skip to content

Commit

Permalink
v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmadigan committed Mar 27, 2024
1 parent 8a9eb2a commit 4d3b4ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROJECT := github.com/jasonmadigan/podman-mac-net-connect
SETUP_IMAGE := quay.io/jmadigan/podman-mac-net-connect
VERSION := 0.0.4
VERSION := 0.0.5
LD_FLAGS := -X ${PROJECT}/version.Version=${VERSION} -X ${PROJECT}/version.SetupImage=${SETUP_IMAGE}

run:: build-podman run-go
Expand Down
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type SSHConnectionDetails struct {

// getSSHConnectionDetails executes "podman system connection list" and returns SSH URI and identity file path.
func getSSHConnectionDetails() (*SSHConnectionDetails, error) {
cmd := exec.Command("podman", "system", "connection", "list")
cmd := exec.Command("/opt/podman/bin/podman", "system", "connection", "list")
output, err := cmd.Output()
if err != nil {
return nil, fmt.Errorf("error executing command: %w", err)
Expand Down Expand Up @@ -140,7 +140,6 @@ func main() {

tun, err := tun.CreateTUN("utun", device.DefaultMTU)
if err != nil {
fmt.Printf("failed to create TUN device: %v", err)
fmt.Errorf("Failed to create TUN device: %v", err)
os.Exit(ExitSetupFailed)
}
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package version

// Variables initialized by the Go linker at build time - see Makefile

var Version = "0.0.4"
var Version = "0.0.5"
var SetupImage string

0 comments on commit 4d3b4ab

Please sign in to comment.