• Leigh Stoller's avatar
    Hacky little script (htmlinstall) that runs each html file through a · 780bcd01
    Leigh Stoller authored
    perl filter (at installation time) to replace hardwired Utah specific
    tokens with configured values. Currently:
    
        s/www\.emulab\.net/www.@OURDOMAIN@/g;
        s/users\.emulab\.net/@USERNODE@/g;
        s/ops\.emulab\.net/@USERNODE@/g;
        s/boss\.emulab\.net/@BOSSNODE@/g;
        s/fs\.emulab\.net/@FSNODE@/g;
        s/(\s+[-\w]+)\.emulab\.net/$1.@OURDOMAIN@/g;
        s/testbed-ops\@emulab\.net/@TBOPSEMAIL@/g;
        if (! $TBMAINSITE) {
    	s/testbed-ops\@flux\.utah\.edu/@TBOPSEMAIL@/g;
    	s/\@flux\.utah\.edu/\@@OURDOMAIN@/g;
        }
    
    Seems to catch most everything.
    780bcd01
htmlinstall.in 1.78 KB