summaryrefslogtreecommitdiff
path: root/azurelinuxagent/pa/deprovision/factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'azurelinuxagent/pa/deprovision/factory.py')
-rw-r--r--azurelinuxagent/pa/deprovision/factory.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/azurelinuxagent/pa/deprovision/factory.py b/azurelinuxagent/pa/deprovision/factory.py
index dd01633..72a5be1 100644
--- a/azurelinuxagent/pa/deprovision/factory.py
+++ b/azurelinuxagent/pa/deprovision/factory.py
@@ -21,6 +21,7 @@ from azurelinuxagent.common.version import DISTRO_NAME, DISTRO_VERSION, \
DISTRO_FULL_NAME
from .default import DeprovisionHandler
+from .clearlinux import ClearLinuxDeprovisionHandler
from .coreos import CoreOSDeprovisionHandler
from .ubuntu import UbuntuDeprovisionHandler
@@ -31,6 +32,8 @@ def get_deprovision_handler(distro_name=DISTRO_NAME,
return UbuntuDeprovisionHandler()
if distro_name == "coreos":
return CoreOSDeprovisionHandler()
+ if distro_name == "clear linux":
+ return ClearLinuxDeprovisionHandler()
return DeprovisionHandler()