Project

General

Profile

Bug #14131

Libvirt image provision fails on FreeBSD without bash

Added by Karli Sjöberg over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

bash: no such file or directory

Thankfully there´s an easy fix, just changing 'bash' to 'sh' in the SSH provision script. In Linux, '/bin/sh' is symlinked to '/bin/bash', so works all around.

TIA
Karli

ssh_rb-20160310-1.patch ssh_rb-20160310-1.patch 489 Bytes Karli Sjöberg, 03/10/2016 01:23 AM

Related issues

Related to Foreman - Bug #14957: Image-based provisioning failing due to switching to 'sh' in 14131Closed2016-05-08

Associated revisions

Revision 7e46a7bc (diff)
Added by Karli Sjoberg over 4 years ago

fixes #14131 Changed bash to sh

Revision 123a5383 (diff)
Added by Karli Sjoberg over 4 years ago

fixes #14131 Changed bash to sh

(cherry picked from commit 7e46a7bc7233ed53d16306ae42f3245b07eab26f)

History

#1 Updated by Dominic Cleal over 4 years ago

  • Subject changed from Libvirt image provision fails on FreeBSD to Libvirt image provision fails on FreeBSD without bash
  • Category set to Compute resources

Thanks for the report and patch. Could you please submit the patch on GitHub so we can merge it? There are instructions over at http://theforeman.org/contribute.html, and you can use this ticket number.

#2 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3304 added

#3 Updated by Karli Sjöberg over 4 years ago

Done! That was my first git commit so I hope it was correctly done. Clear and easy to follow contributing instructions!

#4 Updated by Dominic Cleal over 4 years ago

  • Assignee set to Karli Sjöberg

Thanks very much! We'll review it shortly.

#5 Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 141

#7 Updated by Greg Sutcliffe over 4 years ago

  • Related to Bug #14957: Image-based provisioning failing due to switching to 'sh' in 14131 added

Also available in: Atom PDF