Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Fix of booting non-5minute images
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Korbel committed Feb 27, 2018
1 parent 10ab2d8 commit 0029404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vminute/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .vminute import main
import sys
__version__ = "0.2.27"
__version__ = "0.2.28"


def main_main():
Expand Down
2 changes: 1 addition & 1 deletion vminute/vminute.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ def __check_console_output(self, server):
counter = 60
isatty = sys.stderr.isatty()
reg_exit = re.compile(r".*login:\s*$")
if len(self.params['cscript']) > 0:
if 'cscript' in self.params and len(self.params['cscript']) > 0:
reg_exit = re.compile(self.cinit_ending_text)
if show_output:
print("Booting of the instance:")
Expand Down

0 comments on commit 0029404

Please sign in to comment.