summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_set_hostname.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig/cc_set_hostname.py')
-rw-r--r--cloudinit/CloudConfig/cc_set_hostname.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_set_hostname.py b/cloudinit/CloudConfig/cc_set_hostname.py
index bc190049..1a70d9e0 100644
--- a/cloudinit/CloudConfig/cc_set_hostname.py
+++ b/cloudinit/CloudConfig/cc_set_hostname.py
@@ -15,8 +15,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
import cloudinit.util as util
-import subprocess
def handle(name,cfg,cloud,log,args):
if util.get_cfg_option_bool(cfg,"preserve_hostname",False):