This repository has been archived by the owner on Jan 1, 2021. It is now read-only.
Proper VMware support #747
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
68fa4ad
Add open-vm-tools build to Dockerfile
frapposelli 4820bff
Added Memory Balloon driver to Kernel
frapposelli eba9ab5
Add user space scripts and helpers:
frapposelli b48e803
Modify automount script to initialize empty VMware disks
frapposelli e883254
Fixes after code review:
frapposelli File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,3 +80,6 @@ fi | |
if modprobe hv_utils &> /dev/null; then | ||
/usr/sbin/hv_kvp_daemon | ||
fi | ||
|
||
# Launch vmware-tools | ||
/etc/rc.d/vmtoolsd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
|
||
# vmtoolsd will start only if it can connect to the vmx backdoor, will | ||
# quit immediately if not running on a VMware-based system. | ||
/usr/local/bin/vmtoolsd --background /var/run/vmtoolsd.pid | ||
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
|
||
usage() | ||
{ | ||
echo 'Usage: shutdown [-rh] time | ||
-r: reboot after shutdown. | ||
-h: halt after shutdown. | ||
** the "time" argument is mandatory! (try "now") **' >&2 | ||
exit 1 | ||
} | ||
|
||
case $1 in | ||
-r) CMD="/bin/busybox reboot" | ||
;; | ||
-h) CMD="/bin/busybox poweroff" | ||
;; | ||
*) usage | ||
;; | ||
esac | ||
|
||
shift | ||
|
||
case $1 in | ||
now|+0) DELAY="" | ||
;; | ||
+[0-9]*) DELAY=$(($1 * 60)) | ||
;; | ||
*) usage | ||
;; | ||
esac | ||
|
||
${CMD}${DELAY:+ -d $DELAY} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
# just to make open-vm-tools happy, nad fake output | ||
This comment was marked as spam.
Sorry, something went wrong. |
||
# of lsb_release -sd | ||
. /etc/os-release | ||
echo $PRETTY_NAME | ||
|
||
exit 0 | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
Sorry, something went wrong.