Commit 280232a7 authored by Marco Mariani's avatar Marco Mariani

'slapos proxy start' must be run as root

parent b4605d83
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import logging import logging
from slapos.cli.command import must_be_root
from slapos.cli.config import ConfigCommand from slapos.cli.config import ConfigCommand
from slapos.proxy import do_proxy, ProxyConfig from slapos.proxy import do_proxy, ProxyConfig
...@@ -21,6 +22,7 @@ class ProxyStartCommand(ConfigCommand): ...@@ -21,6 +22,7 @@ class ProxyStartCommand(ConfigCommand):
return ap return ap
@must_be_root
def take_action(self, args): def take_action(self, args):
configp = self.fetch_config(args) configp = self.fetch_config(args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment