aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-06-28 20:48:38 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-06-28 20:51:14 +0200
commita0805a01542505301918cacb5db6216814c40023 (patch)
treedcc125fa94cbacdac6f30bea2d6ebc59ad335598 /patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch
parentbe00c803bcefb56ad9f690ae1509d3dcae7e9d9b (diff)
MCP: Remove all Fuel patches and plugins
Chances are none of the old patches / plugins can be reused as-is, so remove all of them and prepare for the switch to MCP. Change-Id: I999927a43b438d9bda9ff118731e2af4b1fa8caa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch')
-rw-r--r--patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch b/patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch
deleted file mode 100644
index d8717156..00000000
--- a/patches/opnfv-fuel/0005-deploy.py-add-a-time-stamp-to-the-new-ISO-image.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-: Copyright (c) 2017 Enea AB and others.
-:
-: All rights reserved. This program and the accompanying materials
-: are made available under the terms of the Apache License, Version 2.0
-: which accompanies this distribution, and is available at
-: http://www.apache.org/licenses/LICENSE-2.0
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-From: Josep Puigdemont <josep.puigdemont@enea.com>
-Date: Tue, 17 May 2016 14:40:48 +0200
-Subject: [PATCH] deploy.py: add a time stamp to the new ISO image
-
-Add a time stamp to the newly create ISO image. This is to prevent name
-collisions with other ISO images from earlier deploy jobs.
-
-Ideally this will only be a temporary need, and releng will provide with
-unique IDs for each job that we can use to this effect.
-
-Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
----
- deploy/deploy.py | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/deploy/deploy.py b/deploy/deploy.py
-index 041ba2f..cebef97 100755
---- a/deploy/deploy.py
-+++ b/deploy/deploy.py
-@@ -13,6 +13,7 @@ import os
- import io
- import re
- import sys
-+import time
- import yaml
- import signal
- import netaddr
-@@ -100,8 +101,9 @@ class AutoDeploy(object):
-
- def install_fuel_master(self):
- log('Install Fuel Master')
-- new_iso = ('%s/deploy-%s'
-- % (self.tmp_dir, os.path.basename(self.iso_file)))
-+ stamp = time.strftime("%Y%m%d%H%M%S")
-+ new_iso = ('%s/deploy-%s-%s'
-+ % (self.tmp_dir, stamp, os.path.basename(self.iso_file)))
- self.patch_iso(new_iso)
- self.iso_file = new_iso
- self.install_iso()