1. 20 Aug, 2015 2 commits
  2. 19 Aug, 2015 2 commits
  3. 18 Aug, 2015 5 commits
  4. 17 Aug, 2015 10 commits
  5. 15 Aug, 2015 1 commit
  6. 14 Aug, 2015 2 commits
  7. 13 Aug, 2015 7 commits
  8. 12 Aug, 2015 4 commits
    • Mike Hibler's avatar
      More tweaks. · 88a4a831
      Mike Hibler authored
      Loopback mount @TBROOT@/lib/geni-lib directory read-only in the jail.
      This way we don't have to copy geni-lib stuff into the base jail and worry
      about multiple versions. The version mounted in the jail can either be
      the standard version or a dev-tree version depending on which copy of the
      script is run.
      
      Create per-instance snapshots of the base jail rather than having one
      "current" snapshot that all instances used. Not as efficient, but allows
      us to update the base (e.g., with security fixes) without needing to
      remember to create a new "current" snapshot!
      
      Add -C option to just create a jail instance without running anything
      in it. Then you can use "jexec" to test stuff in the jail. Use the new
      -R option afterward to remove the instance.
      
      Try to sanitize the environment passed to the command script. We cannot
      just give it a "clean" environment because genilib passes stuff via the
      environment. So we get rid of SUDO_* and SSH_* and set the assorted USER*
      variables correctly. This may have to be refined depending on how much
      geni-lib scripts expect from the environment.
      88a4a831
    • Leigh B Stoller's avatar
      Fix bug that was causing Snapshot to miss updating the disk image in the · 1a8c905c
      Leigh B Stoller authored
      new profile version.
      1a8c905c
    • Leigh B Stoller's avatar
      Return a better error to the user when the GPO Portal is offline, and · 879ca429
      Leigh B Stoller authored
      we cannot get their project list, which causes create_instance to fail.
      879ca429
    • Leigh B Stoller's avatar
      Updates for iminds. · 951477e8
      Leigh B Stoller authored
      951477e8
  9. 11 Aug, 2015 7 commits
    • Mike Hibler's avatar
      Two versions of a python jail for running geni-lib scripts. · 794fe4d4
      Mike Hibler authored
      genilib-iocage uses the FreeBSD "iocage" jail management package to
      setup a jail, run the script, and teardown the jail. Unfortunately,
      this version is really, really slow (11 seconds for a one-shot jail).
      
      So instead we will use genilib-jail which uses the template jail instance
      I built using iocage, but creates the one-off jails by using raw zfs and
      jail commands. It runs in about 1.3 seconds. genilib-iocage is left in
      case the author speeds it up someday.
      
      N.B. these are NOT plug in replacements for rungenilib.proxy.in.
      In particular, the new scripts run as root and don't do any validation
      of the caller or arguments. So genilib-jail will be called from rungenilib
      for now (though I have not done that part yet!)
      794fe4d4
    • Leigh B Stoller's avatar
      Another tweak to previous revision. · bcda0517
      Leigh B Stoller authored
      bcda0517
    • Leigh B Stoller's avatar
    • Jonathon Duerig's avatar
      s/PG Utah/Emulab/ · 75ca06c7
      Jonathon Duerig authored
      75ca06c7
    • Leigh B Stoller's avatar
      More tweaks to previous revision. · 9c3a3267
      Leigh B Stoller authored
      9c3a3267
    • Mike Hibler's avatar
      Deal with Redhat "early_cpio" initrd. · 2ffc29d7
      Mike Hibler authored
      2ffc29d7
    • Mike Hibler's avatar
      Support changing console and a couple of other bug fixes. · 5271e1a4
      Mike Hibler authored
      Do what we do in FreeBSD slicefix to set the console correctly.
      Not perfect, but it is what it is.
      
      Fix long standing bug that left garbage at the end of grub.cfg.
      We were fixing grub.cfg by opening it for read/write, reading in the
      whole file, fixing it, seeking to zero, and writing it back out.
      However, if our fixes resulted in a shorter file than before, the
      excess bits would be left in the file. Instead, we now truncate after
      seeking to zero and before re-writing.
      
      Fix another issue with CentOS 7. Make sure we look for linux16 and
      initrd16 as well as linux and initrd.
      5271e1a4