 
 net         = require('net')
 fs          = require('fs')
+os          = require('os')
 
 async       = require('async')
 winston     = require('winston')

    if opts.command == 'outgoing' and NO_OUTGOING_FIREWALL
        opts.cb()
        return
    misc_node.execute_code
        command : 'sudo'
        args    : ["#{process.env.SALVUS_ROOT}/scripts/smc_firewall.py", opts.command].concat(opts.args)
        bash    : false
        timeout : 30
        path    : process.cwd()

        v = ['--dev', "--projects", PROJECT_PATH]
    else
        winston.debug("smc_compute: running #{misc.to_safe_str(opts.args)}")
        if USERNAME != 'root'
            command = "sudo"
            v = ["/usr/local/bin/smc-compute"]
        else
            command = '/usr/local/bin/smc-compute'
            v = []
    if program.single
        v.push("--single")
    if program.kubernetes
