Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace toolbox with open-vm-tools #2132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions installer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,23 @@ ovfenv := $(BIN)/ovfenv
vic-ova-ui := $(BIN)/vic-ova-ui
ova-webserver := $(BIN)/ova-webserver
ova-landing-server := $(BIN)/ova-landing-server
toolbox := $(BIN)/toolbox
rpctool := $(BIN)/rpctool
gas: $(GAS)
ovfenv: $(ovfenv)
vic-ova-ui: $(vic-ova-ui)
ova-webserver: $(ova-webserver)
ova-landing-server: $(ova-landing-server)
toolbox: $(toolbox)
rpctool: $(rpctool)
tools: $(DEP) $(GOLINT) $(GAS)
all: golint gofmt govet gas $(ovfenv) $(vic-ova-ui) $(ova-webserver) $(ova-landing-server) $(toolbox) $(rpctool)
all: golint gofmt govet gas $(ovfenv) $(vic-ova-ui) $(ova-webserver) $(ova-landing-server) $(rpctool)

vendor: $(DEP)
@echo restoring vendor
$(DEP) ensure

gas: $(GAS)
@echo running go AST tool
@$(GAS) -quiet fileserver/... landing_server/... lib/... ovatools/... pkg/... toolbox/... 2> /dev/null
@$(GAS) -quiet fileserver/... landing_server/... lib/... ovatools/... pkg/... 2> /dev/null

golint: $(GOLINT)
@echo checking go lint...
Expand All @@ -63,7 +61,6 @@ golint: $(GOLINT)
@$(call golintf,github.com/vmware/vic-product/installer/lib/...)
@$(call golintf,github.com/vmware/vic-product/installer/ovatools/...)
@$(call golintf,github.com/vmware/vic-product/installer/pkg/...)
@$(call golintf,github.com/vmware/vic-product/installer/toolbox/...)

gofmt:
@echo checking gofmt...
Expand Down Expand Up @@ -111,10 +108,6 @@ $(ova-landing-server): $(call godeps,landing_server/*.go)
@echo building ova-landing-server
@GOARCH=amd64 GOOS=linux $(TIME) $(GO) build $(RACE) -ldflags "$(LDFLAGS)" -o ./$@ ./$(dir $<)

$(toolbox): $(call godeps,toolbox/*.go)
@echo building toolbox
@GOARCH=amd64 GOOS=linux $(TIME) $(GO) build $(RACE) -ldflags "$(LDFLAGS)" -o ./$@ ./$(dir $<)

$(rpctool): $(call godeps,ovatools/rpctool/*.go)
@echo building rpctool
@GOARCH=amd64 GOOS=linux $(TIME) $(GO) build $(RACE) -ldflags "$(LDFLAGS)" -o ./$@ ./$(dir $<)
Expand Down
3 changes: 2 additions & 1 deletion installer/build/bootable/build-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ function set_base() {
cdrkit xfsprogs sudo \
lvm2 parted gptfdisk \
e2fsprogs docker-17.12.1-1.ph1 gzip \
net-tools logrotate sshpass
net-tools logrotate sshpass \
open-vm-tools

log3 "installing package dependencies"
tdnf install --installroot "${rt}/" --refresh -y \
Expand Down
5 changes: 0 additions & 5 deletions installer/build/ova-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
"source": "../bin/ova-landing-server",
"destination": "/usr/local/bin/ova-landing-server"
},
{
"type": "file",
"source": "../bin/toolbox",
"destination": "/usr/bin/toolbox"
},
{
"type": "file",
"source": "../bin/rpctool",
Expand Down
89 changes: 0 additions & 89 deletions installer/toolbox/main.go

This file was deleted.