You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Michael Prokop 480464e0e0
Add relevant template files for deployment ISO, update docs how to build a new ISO.
14 years ago
etc/grml/fai/config/package_config package config: add software for vmdebootstrap deployment 14 years ago
templates Add relevant template files for deployment ISO, update docs how to build a new ISO. 14 years ago
README.txt Add relevant template files for deployment ISO, update docs how to build a new ISO. 14 years ago

README.txt

How to set up grml-live
-----------------------

Copy the templates/ directory to /srv/grml-live/grml-sipwise/templates, and
etc/grml/fai/config/package_config/GRML_SIPWISE to
/etc/grml/fai/config/package_config/GRML_SIPWISE - then invoke:

grml-live -a amd64 -s wheezy -c GRMLBASE,GRML_MEDIUM,GRML_SIPWISE,RELEASE,AMD64 \
  -o /srv/grml-live/grml-sipwise -v $(date +%Y.%m.%d) \
  -g grml-sipwise -r grml-ftw -t /srv/grml-live/grml-sipwise/templates

Copy local mirror files to grml_chroot/srv/mirror/.

How to build the local mirror
-----------------------------

On a running, working sipwise provide installation, run:

  apt-get clean
  apt-get -y --print-uris --reinstall --download-only install \
    $(dpkg --get-selections | awk '{print $1}') | grep "^\'" | cut -d\' -f2 > install.txt
  wget -c --input-file install.txt

Place downloaded .deb files in /srv/mirror/debs/ inside
the ISO, then execute ./make_reprepro.sh inside /srv/mirror.

./make_reprepro.sh looks like:

  echo "Setting up configuration for reprepro."
  mkdir -p debian/conf/
  cat > debian/conf/distributions << EOF
  Origin: Debian
  Label: Debian
  Suite: stable
  Version: 6.0
  Codename: squeeze
  Architectures: amd64 source
  Components: main contrib non-free
  Description: Debian Mirror including Sipwise stuff
  Log: logfile
  EOF
  
  echo "Building local Debian mirror based on packages found in debs."
  for f in debs/*deb ; do
    reprepro --silent -b debian includedeb squeeze "$f"
  done

You can remove the debs from /srv/mirror/debs/ then to
save space on the resulting ISO.