From Fedora Project Wiki
(initial boxgrinder delivery sftp test case) |
m (word order error) |
||
Line 4: | Line 4: | ||
{{admon/note|You need write access to an SFTP server via key|Password is not supported, only key authentication}} | {{admon/note|You need write access to an SFTP server via key|Password is not supported, only key authentication}} | ||
* Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code> | * Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code> | ||
* Put the following BoxGrinder config into a file named: <code>~/.boxgrinder/config</code>. Replace '''IP_ADDRESS_OR_HOST''' and | * Put the following BoxGrinder config into a file named: <code>~/.boxgrinder/config</code>. Replace '''IP_ADDRESS_OR_HOST''' and '''YOUR_USERNAME''' with appropriate values | ||
<pre> | <pre> | ||
plugins: | plugins: |
Revision as of 15:16, 22 April 2011
Description
Deliver an appliance to an SFTP server
Setup
- Clone the BoxGrinder test appliances into a convenient location using command
git clone https://github.com/msavy/boxgrinder-appliances.git
- Put the following BoxGrinder config into a file named:
~/.boxgrinder/config
. Replace IP_ADDRESS_OR_HOST and YOUR_USERNAME with appropriate values
plugins: sftp: host: IP_ADDRESS_OR_HOST username: YOUR_USERNAME path: /some/path/
- Ensure you have the correct public keys registered to enable SFTP authentication on your server.
How to test
- Navigate to directory
boxgrinder-appliances/testing-appliances/jeos-appls/
- Execute
boxgrinder-build fedora-15-jeos.appl -d sftp -p virtualbox
Expected Results
The following must be true to consider this a successful test run.
- Step #2 completes without error (indicated on console)
- Program completes with exit code 0
- Determine whether a f15-jeos.vdi file appeared on target host in the expected location