Torben - upgrading to git 1.8 did the trick. Thanks for the pointer. Toby

On Mon, Jan 5, 2015 at 5:54 PM, Toby Ferguson <[email protected]>
wrote:

> Thanks - I'll try that out and let you know! Appreciate the quick response.
>
> toby
>
> On Mon, Jan 5, 2015 at 5:10 PM, Torben Knerr <[email protected]>
> wrote:
>
>> Looks like you would need a newer Git client version on your workstation.
>>
>> * 1.7.0 does NOT have the `--short` option:
>> http://git-scm.com/docs/git-symbolic-ref/1.7.0
>> * 1.8.0 does have it: http://git-scm.com/docs/git-symbolic-ref/1.8.0
>>
>> HTH,
>> Torben
>>
>>
>> On Tue, Jan 6, 2015 at 1:33 AM, Toby Ferguson <[email protected]>
>> wrote:
>> > I'm using Packer to build a vagrant box. That works successfully.
>> >
>> > I want to push the subsequent box up to Atlas.
>> >
>> > I *thought* it'd be as easy as putting the following in my Vagrantfile:
>> >
>> >  config.push.define "atlas" do |push|
>> >     push.app = "tobyhferguson/ol6u5-minimal-btrfs-uek"
>> > end
>> >
>> >
>> >
>> > But when I tried 'vagrant push' this is what I got:
>> >
>> > [toby@dell-server-2 Packer]$ vagrant push
>> > error archiving: error getting git branch: exit status 129
>> > stdout:
>> > stderr: error: unknown option `short'
>> > usage: git symbolic-ref [options] name [ref]
>> >
>> >     -q, --quiet           be quiet
>> >     -m <reason>           reason of the update
>> >
>> >
>> > So after reading around I thought it was something to do with a token,
>> which
>> > I figured out how to generate on the Atlas website, and then add to the
>> > vagrantfile (the docs say that 'vagrant login' should spit out a token
>> - if
>> > it does I didn't see it!)
>> >
>> > So my Vagrantfile now looks like (with the '...' hiding the rest of the
>> > token):
>> >
>> >   config.push.define "atlas" do |push|
>> >     push.app = "tobyhferguson/ol6u5-minimal-btrfs-uek"
>> >     push.token = "E3faTe..."
>> >   end
>> >
>> > But no luck - same error:
>> >
>> > [toby@dell-server-2 Packer]$ vagrant push
>> > error archiving: error getting git branch: exit status 129
>> > stdout:
>> > stderr: error: unknown option `short'
>> > usage: git symbolic-ref [options] name [ref]
>> >
>> >     -q, --quiet           be quiet
>> >     -m <reason>           reason of the update
>> >
>> > I can't figure it out - there must be a way to get this new box up to
>> Atlas,
>> > but 'vagrant push' doesn't seem to do it :-(
>> >
>> > What am I doing wrong?
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Vagrant" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to [email protected].
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Vagrant" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/vagrant-up/CLAknOuNGDU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> toby
>



-- 
toby

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to