code: function getUserdataForAmi_(username, upNamespace, envVars_, origUsername) {
    var envVars = cleanEnvVars(upNamespace, envVars_);
  
    var script  = [
                  "#!/bin/bash -ex",
                  ""
    ];
    _.each(envVars, function(value, key) {
      script.push("/usr/local/bin/yoshi-set-env "+key+" "+value);
    });
    script.push(  "");
  
    console.error(script);
    return script;
  }
docs: The userdata for when starting an instance from a created AMI.