Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Question #14

Closed
vektren opened this issue May 31, 2020 · 8 comments
Closed

Arch Question #14

vektren opened this issue May 31, 2020 · 8 comments

Comments

@vektren
Copy link

vektren commented May 31, 2020

Hello, This issue might be because I am on Arch.
But will ask anyway, I ensured all dependency is installed and got the DigitalOcean key.. looks okay then this:

/dev/fd/63: line 185: 230812 Killed packer build -var-file ~/.axiom/axiom.json ~/.axiom/packer.json

The full output here: https://pastebin.com/QAizNMaQ

I'll spin up ubuntu if I have to, but any advice would be great.

@tavdog
Copy link

tavdog commented May 31, 2020

from the readme : Packer is pretty easy everywhere, although manual (its really important you get the right version, if its too old, then the var-file syntax will fail.

@vektren
Copy link
Author

vektren commented May 31, 2020

Thank for the quick reply, can confirm the version is what's listed in the readme:

$ packer --version
1.5.6

@pry0cc
Copy link
Owner

pry0cc commented May 31, 2020

Hey @blueteq!

Can you confirm that your ~/.axiom/ directory has files in it? And what the output of

packer build -var-file ~/.axiom/axiom.json ~/.axiom/packer.json

Is?

@vektren
Copy link
Author

vektren commented May 31, 2020

Yes, cloned files okay, listed below and the output of packer output is in Pastebin link.
I tried deleting the .axiom folder and ran the script again, however the same result.

I am no developer (very apparent I am sure), I did look at the packer.json files cloned. There are a few references to ubuntu and apt-repositories? Am I mistaken to think that this needs to be Pacman and not apt for Arch?

$ ls -al ~/.axiom/
total 104
drwxr-xr-x  8 blueteq wheel  4096 May 31 10:43 .
drwx------ 14 blueteq wheel  4096 May 31 10:44 ..
-rw-r--r--  1 blueteq wheel   172 May 31 10:43 axiom.json
drwxr-xr-x  2 blueteq wheel  4096 May 31 10:43 configs
drwxr-xr-x  2 blueteq wheel  4096 May 31 10:43 functions
drwxr-xr-x  8 blueteq wheel  4096 May 31 10:43 .git
-rw-r--r--  1 blueteq wheel    30 May 31 10:43 .gitignore
drwxr-xr-x  2 blueteq wheel  4096 May 31 10:43 interact
-rw-r--r--  1 blueteq wheel 35149 May 31 10:43 LICENSE
-rw-r--r--  1 blueteq wheel  9346 May 31 10:43 packer.json
drwxr-xr-x  5 blueteq wheel  4096 May 31 10:43 profiles
-rw-r--r--  1 blueteq wheel 15099 May 31 10:43 README.md
drwxr-xr-x  2 blueteq wheel  4096 May 31 10:43 screenshots

And packer build output: https://pastebin.com/dA15399D

@pry0cc
Copy link
Owner

pry0cc commented May 31, 2020

Those commands are to run on the initialised server, which is Ubuntu, so it's not for your local arch system.

Can you show me the contents of ~/.axiom/axiom.json? Minus your key of course.

@vektren
Copy link
Author

vektren commented May 31, 2020

@pry0cc
Copy link
Owner

pry0cc commented May 31, 2020

Okkk - so it seems that this is a bug in an older packer (I have no idea how).

hashicorp/packer#8910

How did you install packer? Can you try from the AUR? I use an AUR Helper called yay, the command would just be "yay -S packer".

@vektren
Copy link
Author

vektren commented May 31, 2020

Thank you, Ill close issue as not related to Axiom. I'll get Yay installed and work from there.

@vektren vektren closed this as completed May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants