diff mbox

[2/5] guest tools: installer harness

Message ID 1314032960-23474-3-git-send-email-mdroth@linux.vnet.ibm.com
State New
Headers show

Commit Message

Michael Roth Aug. 22, 2011, 5:09 p.m. UTC
This is what the users run in the guest to install the guest tools.
Since initially only the guest agent will be installed in the manner,
the logic is to simply iterate through each projects, execute the
install script, then do the next. It's up the the project-specific
install scripts to decide whether to upgrade/error/etc. In the future
this may change to support more intelligent dependency checking and
allow for interactive installs.

Only linux is supported initially, windows and other platforms will
follow as needed.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---
 guest-tools-iso/install.linux |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100755 guest-tools-iso/install.linux
diff mbox

Patch

diff --git a/guest-tools-iso/install.linux b/guest-tools-iso/install.linux
new file mode 100755
index 0000000..2291444
--- /dev/null
+++ b/guest-tools-iso/install.linux
@@ -0,0 +1,7 @@ 
+#!/bin/sh
+
+for project in projects/*; do
+    cd $project
+    sudo ./install.linux
+    cd -
+done