add DHCP lease folders for Ubuntu

Add "/var/lib/dhcp/*" to the search path for Ubuntu; tested under
Ubuntu Precise and Trusty, not yet with newer releases.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3bb70dae
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3bb70dae
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3bb70dae

Branch: refs/heads/master
Commit: 3bb70daeccbb96d77e04e15983ccee161ccbba4e
Parents: b4ad38d
Author: Romain Dartigues <[email protected]>
Authored: Wed May 18 23:34:19 2016 +0200
Committer: Romain Dartigues <[email protected]>
Committed: Wed May 18 23:34:19 2016 +0200

----------------------------------------------------------------------
 setup/bindir/cloud-set-guest-sshkey.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3bb70dae/setup/bindir/cloud-set-guest-sshkey.in
----------------------------------------------------------------------
diff --git a/setup/bindir/cloud-set-guest-sshkey.in 
b/setup/bindir/cloud-set-guest-sshkey.in
index 03d57f5..80e4064 100755
--- a/setup/bindir/cloud-set-guest-sshkey.in
+++ b/setup/bindir/cloud-set-guest-sshkey.in
@@ -27,7 +27,7 @@
 user=root
 
 # Add your DHCP lease folders here
-DHCP_FOLDERS="/var/lib/dhclient/* /var/lib/dhcp3/*"
+DHCP_FOLDERS="/var/lib/dhclient/* /var/lib/dhcp3/* /var/lib/dhcp/*"
 keys_received=0
 file_count=0
 

Reply via email to