~townsend/unity8-preview-lxc/fix-postrm

« back to all changes in this revision

Viewing changes to bin/unity8-lxc-setup

  • Committer: Chris Townsend
  • Date: 2015-10-27 16:28:41 UTC
  • mto: This revision was merged to the branch mainline in revision 79.
  • Revision ID: christopher.townsend@canonical.com-20151027162841-rh3nxo8n6uzrpnts
Some more cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import subprocess
26
26
import sys
27
27
import time
28
 
import platform
29
28
 
30
29
 
31
30
CONTAINER_NAME = "unity8-lxc"
57
56
container_path = "%s/%s" % (lxc.default_config_path, CONTAINER_NAME)
58
57
rootfs_path = "%s/rootfs" % container_path
59
58
 
60
 
(distro, version, codename) = platform.linux_distribution()
61
 
 
62
59
# Actions
63
60
generate_rootfs = True
64
61