Browse Source

add make_ functions for root user and add debootstrap options for ubuntu

pull/3/head
Markus Bergholz 6 years ago
parent
commit
7285c5d53f
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      createchroot

+ 13
- 1
createchroot View File

@@ -10,7 +10,19 @@ function make_debian(){

function make_ubuntu(){

fakeroot fakechroot debootstrap $linux $folder http://archive.ubuntu.com/ubuntu
fakeroot fakechroot debootstrap --variant=minbase $linux $folder http://archive.ubuntu.com/ubuntu

}

function sudo_make_debian(){

debootstrap $linux $folder http://cdn.debian.net/debian/

}

function sudo_make_ubuntu(){

debootstrap --variant=minbase $linux $folder http://archive.ubuntu.com/ubuntu

}



Loading…
Cancel
Save