Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'env.sh')
-rwxr-xr-xenv.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/env.sh b/env.sh
index 0c5b4ea..ef92e73 100755
--- a/env.sh
+++ b/env.sh
@@ -35,10 +35,22 @@ clean_install () {
echo "[OK]"
}
+configure_apt () {
+ echo "Configuring APT"
+ cp sources.list install/etc/apt/sources.list
+ chroot install apt-get update
+ echo "APT Configured"
+}
+
# Installation function
installenv () {
check_root
clean_install
+
+ echo "Installing base system"
+ debootstrap --variant=buildd quantal ./install http://archive.ubuntu.com/ubuntu/
+
+ configure_apt
exit
}