self._home = "mtr-%s" % self.guid
self._sudo_kill = True
- def deploy(self):
+ def do_deploy(self):
if not self.get("command"):
self.set("command", self._start_command)
+ if not self.get("env"):
+ self.set("env", "PATH=$PATH:/usr/sbin/")
+
if not self.get("depends"):
self.set("depends", "mtr")
- super(LinuxMtr, self).deploy()
+ super(LinuxMtr, self).do_deploy()
@property
def _start_command(self):