Tags down


Packer won't create image on GCloud

By : Safari Xuan
Date : September 15 2020, 01:00 AM
help you fix your problem As you're not using "account_file" to specify a JSON Service Account key, I assume that you're running packer from a VM instance in GCP that is running as a Service Account, and that such service account is the one with Owner role.
I would first check that the service account is properly configured in the VM details and that the Cloud API Access Scopes are defined as described in this Packer doc:
code :

Share : facebook icon twitter icon

Create a VM image from a Vagrant box using Packer?

By : steve
Date : March 29 2020, 07:55 AM
like below fixes the issue This isn't really a workflow natively supported by Packer, but you could write a small shell script to download the Vagrant box, export the OVF and then kick off Packer's virtualbox-ovf builder.
The shell script (note this is hardcoded to the 1.1.0 version of the box)
code :

vagrant init boxcutter/ubuntu1504-docker
vagrant up --provider virtualbox --no-provision
vagrant halt

rm -rf output-virtualbox-ovf
packer build packer.json
  "variables": {
    "home": "{{env `HOME`}}"
  "builders": [{
    "type": "virtualbox-ovf",
    "source_path": "{{user `home`}}/.vagrant.d/boxes/boxcutter-VAGRANTSLASH-ubuntu1504-docker/1.1.0/virtualbox/box.ovf",
    "ssh_username": "vagrant",
    "ssh_password": "vagrant",
    "ssh_wait_timeout": "30s",
    "shutdown_command": "echo 'packer' | sudo -S shutdown -P now"
  "provisioners": [{
    "type": "shell",
    "inline": ["echo 'my additional provisioning steps'"]
  "post-processors": [{
    "type": "vagrant",
    "keep_input_artifact": true,
    "output": "box/modified-boxcutter-VAGRANTSLASH-ubuntu1504-docker.box"

texture packer doesn't create one huge image of images

By : Hamgood
Date : March 29 2020, 07:55 AM
wish of those help I would not use the Texture Packer GUI as it is easier and faster to pack textures from source. If you work with eclipse, you can do the following.
Make raw-assets folder inside your android/assets folder and copy your images there Make pack folder inside your android/assets folder
code :
public class TextureSetup {

    static String input = "../android/assets/raw-assets";
    static String output = "../android/assets/pack/";
    static String atlas = "my-assets";

    public static void main(String[] args){
        TexturePacker.process(input, output, atlas);
project(":desktop") {
    apply plugin: "java"

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
        compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"

Can we rename an output image from "packer build" command over-riding the image name given in packer.json file

By : vikas kumar yadav
Date : March 29 2020, 07:55 AM
hop of those help? If the user supplies the template.json then they are in control of the naming, unless you use something like jq to manipulate and rewrite it. Which is probably the solution you are after.

How to create a new packer image from an existing private packer image in Azure

By : user7915240
Date : March 29 2020, 07:55 AM
it helps some times I have never tried this myself, but it seems to work like this.
Instead of
code :
"image_publisher": "Canonical",
"image_offer": "UbuntuServer",
"image_sku": "16.04.0-LTS",
"image_url": "https://my-storage-account.blob.core.windows.net/path/to/your/custom/image.vhd",

how to create a vagrant box from vmware image with packer

By : Sri
Date : March 29 2020, 07:55 AM
this will help Using Packer to apply additional provisioning steps to an existing VM is supported by Packer via the vmware-vmx builder
Related Posts Related Posts :
  • Load data from IBM Object Storage file to Cloud DB2
  • Azure Monitor alert on a filtered custom metric, less than case
  • New API - add a task to a board?
  • Google Cloud Functions - Video intelligence
  • "Runtimeerror: bool value of tensor with more than one value is ambiguous" fastai
  • CloudKit Sync using NSPersistentCloudKitContainer in iOS13
  • Electron: difference between process.defaultApp and app.isPackaged
  • dotenv configure on Loopback 4
  • you are using old version of this app, which no longer support account linking. please upgrade your app to continue addi
  • Open a tree view for several IDs after user press a button in Odoo 10
  • How to upload a .zip file from remote server to artifactory via Jenkins pipeline?
  • How can I ask hive to provide more detailed error?
  • Microsoft Graph API intermittent error "Token not found: token is either invalid or expired" resolves itself a
  • How do I collect the stdout and std error from the .xcresult bundle generated by my XCUI Unit Tests?
  • How to have parametrizable "methods" in Elm data-structures
  • How can I combine multiple .h5 file?
  • How to sum arrays element by element after group by in clickhouse
  • Initializing Slice of type Struct in Golang
  • Encoding binary into unicode
  • LWC test using jest testing framework throws error - unknown public property "smalldevicesize" of element
  • How to change title in grafana's bar gauge panel
  • How to add extra filter and columns into existing saved searches while loading in Netsuite 2.0
  • Julia 1.1 Create a grid (array of points in a grid)
  • Determing Twitter API Rate Limit for Statuses / Filter End-point
  • Is the configuration of a multi-region instance of Google Spanner customizable?
  • Pytorch Question from 'Deep Reinforcement Learning: Hands-On'
  • Limit on Number of Google Spanner Read-Only Replicas
  • swiftui text, how can I pass a bool value to func hidden ()
  • System Time becomes incorrect on reboot of VMs
  • How to load a MODFLOW file that includes external file using ' OPEN/CLOSE' in FloPy? I got stuck with loading a UPW file
  • Google Spanner's Availability
  • How to use Schema.from_dict() for nested dictionaries?
  • Reduce numbers of request Firebase
  • Using a variable to call a nested workflow
  • Custom python model : succeed to load but fail to predict/serve
  • Is there any systematic way to decompose a two-level unitary matrix into single-qubit and CNOT operations?
  • Play Framework - Reload keystore file
  • Blazor onclick event not triggered
  • Bootstrap JS functions not loading in Rails 6/Webpacker
  • Does Webots have headless mode
  • actions on google userStorage only during session
  • Programming Language for Senior Citizens
  • I'm not getting expected result , I want to know what's wrong with the code
  • (Dataweave 1.0) Transformed Message includes Namespaces (and should not)
  • Monitoring routed traffic statistics
  • Azure APIM: new Developer portal requires CORS to test the API
  • Fullcalender slotLabelFormat
  • TypeError: reducerManager.addFeatures is not a function
  • Determine the number of characters which are allowed in a field?
  • Question about getting data from another table
  • Is it possible to use Choose File in Robot Framework to Choose a folder?
  • How to retrieve items stored with the Remember function in Twilio
  • Selection Values reduced based on another selection option in odoo 11?
  • How to know the image url is not work in ROku Brightscript
  • Bulma select dropdown not showing on Safari
  • Get date object for user's timezone
  • Peculiar PWA Bug on Safari IOS 13.1.2
  • PHPUnit - Invalid argument supplied for foreach() not recognized despite expecting it
  • Compilation problem with EnumTools in Haxe Language
  • ReferenceEdge Serialization error using JanusGraph
  • shadow
    Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk