Home > bash, Debian, Linux, Shell > Another trick for cloning

Another trick for cloning

July 10th, 2008

 Powered by Max Banner Ads 
   For a beowulf of full fledged Debian systems (local disk, no shared /usr
or anything like that) you'd need to use

prototype-node:
 dselect  (install and configure everything you want)
 dpkg --get-selections > selection.file

second node:

  dpkg --set-selections < selection.file
  apt-get install dselect-upgrade
  [log any questions and answers]
  [create an expect script with your responses to any questions]

rest-of-nodes:

   dpkg --set-selections < selection.file
  expect -c "apt-get install dselect-upgrade" -f expect-script

bash, Debian, Linux, Shell

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.