Compare commits

...

2 commits

Author SHA1 Message Date
Virgil Dupras f3ae543102 v1.4.3 2018-09-27 14:52:23 -04:00
Francisco Soto 21725d3bb8 Fix redir version fetching.
"" || "something" doesn't really work. Have to check for the actual string
length to determine if got something or not out of the pipe.
2018-09-27 14:48:44 -04:00
3 changed files with 15 additions and 2 deletions

View file

@ -1,8 +1,21 @@
## [1.4.3](https://github.com/fgrehm/vagrant-lxc/compare/v1.4.2...v1.4.3) (Sep 27, 2018)
FEATURES:
- Add config for container ssh IP. [[GH-469]]
FIXES:
- Fix problems with `redir` command line (bis). [[GH-473]]
[GH-469]: https://github.com/fgrehm/vagrant-lxc/issues/469
[GH-473]: https://github.com/fgrehm/vagrant-lxc/issues/473
## [1.4.2](https://github.com/fgrehm/vagrant-lxc/compare/v1.4.1...v1.4.2) (Jul 17, 2018)
FIXES:
- Fix problems with `redir` 3.x command line. [[GH-467]]
[GH-467]: https://github.com/fgrehm/vagrant-lxc/issues/467
## [1.4.1](https://github.com/fgrehm/vagrant-lxc/compare/v1.4.0...v1.4.1) (Apr 30, 2018)
FEATURES:

View file

@ -108,7 +108,7 @@ module Vagrant
def redir_version
stdout, stderr, _ = Open3.capture3 "redir --version"
# For some weird reason redir printed version information in STDERR prior to 3.2
version = stdout || stderr
version = stdout.empty? ? stderr : stdout
version.split('.')[0].to_i
end

View file

@ -1,5 +1,5 @@
module Vagrant
module LXC
VERSION = "1.4.2"
VERSION = "1.4.3"
end
end