How to set the contents of a file in a Fabric8 profile using the command line

Solution Verified - Updated -


A file in a profile can be edited interactively using the profile-edit command in the Karaf console. For example:

profile-edit --version 1.0 --resource myprofile

This brings up an interactive editor. However, the Karaf console provides no method to upload a file, only to edit it on screen.


  • Red Hat Fuse
    • 6.1 - 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content