var setup = require('./tessel/setup');

module.exports = function(opts) {
  return new Promise( function (resolve, reject) {
    setup.setupLocal(function(err, created) {
      if (!created) {
        reject(new Error('Key already exists. No new key created.'));
      }
      else {
        resolve();
      }
    });
  });
}
@@ -23,21 +23,25 @@
 /tessel/
-setup
+provision
 ');%0A%0Amod
@@ -323,8 +323,9 @@
 %0A  %7D);%0A%7D
+%0A

edit name in key file