OpenXT / openxt

Base OpenXT build scripts
48 stars 39 forks source link

build-scripts: setup: fix container existence check #209

Closed jean-edouard closed 7 years ago

jean-edouard commented 7 years ago

Signed-off-by: Jed lejosnej@ainfosec.com

rossphilipson commented 7 years ago

Can you briefly explain this fix?

jean-edouard commented 7 years ago

Sorry yeah, I meant to and forgot. The grep is too wide and matches any longer username. Like if you already have a user called "wopenxt", who has a wopenxt-oe container, running setup.sh will grep lxc-ls for "openxt-oe", find a match and not create the container. -w ensures an exact match.

rossphilipson commented 7 years ago

Ack, thanks, merging soon.