User Controls

Custom Install Scripts

  1. #1
    SBTlauien African Astronaut
    I'm going to need to update some of my sytems here soon and that means all day long work. I usually install the same programs and settings and run the same scripts, on all systems, aside from a few minor tweaks for each system.

    I do this every two years a new release of Ubuntu comes out.

    Should I be making an install script that does it all for me?

    Basically its install the OS, purge shit, install required packages, install programs, install addons, copy over config files, copy over custom scripts, setup scripts, reboot. Likely more.
  2. #2
    Sophie Pedophile Tech Support
    Yes, yes you should. Do it in Bash.
  3. #3
    aldra JIDF Controlled Opposition
    https://help.ubuntu.com/lts/installation-guide/i386/apb.html

    looks like you can create a config file for the ubuntu installer so it'll automatically make your selections and set up packages post install

    this might be a better option if you're doing full deployments - if you need to deploy to fresh machines, you can't exactly run a bash script without an OS
  4. #4
    SBTlauien African Astronaut
    Originally posted by Sophie Yes, yes you should. Do it in Bash.

    This is what I was thinking. With some if-then logic for each OS, hashsum checking for downloads, and user interface options when needed.

    Is anyone interested in creating a customizable framework?

    Does this already exist?

    I've started with a layout plan and it seems like it would be a small project, but I'm looking to network a bit more with my computer science agenda.
  5. #5
    Sophie Pedophile Tech Support
    Sounds pretty straightforward. Jut put a simple user interface on a loop. Have a function to print a funky banner and color your output with ANSI codes and it will look pretty damn 1337.
    The following users say it would be alright if the author of this post didn't die in a fire!
  6. #6
    Bueno motherfucker
  7. #7
    SBTlauien African Astronaut
    Yeah, but its sunny outside and that means I need to go out.
  8. #8
    SBTlauien African Astronaut
    I started it. So far, I download a list of programs and check the checksums manually(but I want the script to check based on the downloads file name and a list of checksums that Ill make while downloading), then the script creates and moves centain background files and scipts and what not from the flash drive, next it makes certain system changes(like installing Unity).

    Next it'll install all programs.

    Its not going to be fancy.
Jump to Top