From 2d8c9c2ec01ad33fa011a458361d2adf251bfdef Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 8 Jan 2008 11:02:30 +0000
Subject: [PATCH] Add kernel/initrd paths to the instance object

This patch adds two new attributes to the instance object:
  - kernel_path
  - object_path

The code ignores them and the configuration handling is not broken by
this addition.

Reviewed-by: imsnah
---
 lib/objects.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/objects.py b/lib/objects.py
index 0629529b0..2cfd8588a 100644
--- a/lib/objects.py
+++ b/lib/objects.py
@@ -491,6 +491,8 @@ class Instance(TaggableObject):
     "disks",
     "disk_template",
     "network_port",
+    "kernel_path",
+    "initrd_path",
     ]
 
   def _ComputeSecondaryNodes(self):
-- 
GitLab