Mercurial > hg > Applications > virsh-wrapper
changeset 24:e372e7648da0
remove test vms, and add managers vms
author | taiki <taiki@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Jul 2014 09:05:59 -1000 |
parents | 66a88f51993f |
children | 1c4fb56f3cd5 |
files | newvm.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/newvm.py Wed Jul 09 12:30:12 2014 -1000 +++ b/newvm.py Mon Jul 21 09:05:59 2014 -1000 @@ -22,7 +22,7 @@ return 1 elif re.match('^teachers/[-a-z0-9]+/0[1-4]$',name): return 0 - elif re.match('^test/[-a-z0-9]+/0[1-4]$',name): + elif re.match('^manager/[-a-z0-9]+/0[1-4]$',name): return 0 elif re.match('^guest/[-a-z0-9]+/0[1-4]$',name): return 0 @@ -43,7 +43,7 @@ if m is None: m=re.match('^(teachers/[-a-z0-9]+)/0[1-4]$',name) if m is None: - m=re.match('^(test/[-a-z0-9]+)/0[1-4]$',name) + m=re.match('^(manager/[-a-z0-9]+)/0[1-4]$',name) if m is None: m=re.match('^(guest/[-a-z0-9]+)/0[1-4]$',name) if m is not None: