Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created July 17, 2014 02:05
Show Gist options
  • Save yuuichi-fujioka/6fdd983841bd67ff7279 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/6fdd983841bd67ff7279 to your computer and use it in GitHub Desktop.
auto selection with debconf at apt-get install
#!/bin/bash
sudo apt-get install debconf-utils -y
sudo debconf-get-selections | grep ${PACKAGE_NAME} > ${PACKAGE_NAME}.preseed
sudo debconf-set-selections ${PACKAGE_NAME}.preseed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment