Revision 49abbd3e lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
1525 | 1525 |
primary_ip=primary_ip, |
1526 | 1526 |
secondary_ip=secondary_ip) |
1527 | 1527 |
|
1528 |
if self.sstore.GetHypervisorType() == constants.HT_XEN_HVM31: |
|
1529 |
if not os.path.exists(constants.VNC_PASSWORD_FILE): |
|
1530 |
raise errors.OpPrereqError("Cluster VNC password file %s missing" % |
|
1531 |
constants.VNC_PASSWORD_FILE) |
|
1532 |
|
|
1533 | 1528 |
def Exec(self, feedback_fn): |
1534 | 1529 |
"""Adds the new node to the cluster. |
1535 | 1530 |
|
Also available in: Unified diff