/** Controls the root mount point for stuff into the VM, i.e. where configs, Vagrantfile and ansible scripts will all be mounted. MUST NOT END IN A SLASH (`/`) */
export const VAGRANT_MOUNT_POINT = "/vagrant";
/**
* Where configs will be stored on the client
*/
// TODO: Move to shared folder so python can also access this
export const VM_MOUNT_CONFIGS = VAGRANT_MOUNT_POINT + "/config";
/**
* Where projects will be stored on the client
*/
// TODO: Move to shared folder so python can also access this
export const VM_MOUNT_PROJECTS = VAGRANT_MOUNT_POINT + "/projects";
/**
* VM Mount location of client config from controller ({@link ClientConfigHere}).
*
* Not to be confused with the client provisioning config
*/
export const VM_MOUNT_CLIENT_CONFIG = VM_MOUNT_CONFIGS + "/client.yml";
/**
* Storage path for provision script, relative to root.
*/
// TODO: Move to a common package so Python also can access this
export const PROVISION_CONFIG_STORAGE = "config/provision.yml";
/** Root where assets are stored */
export const ASSETS_ROOT = join(__dirname, "../assets");
ndex 640ab60..b392530 100644
++ b/detectors/detector-desktop/controller/src/setup/client/newClient.ts
Move to a common package so Python also can access this
https://github.com/Gum-Joe/2Keys/blob/4ca72492382ed0fca5a87d9fb415a7537ccb2ec8/detectors/detector-desktop/controller/src/constants.ts#L32
/** Controls the root mount point for stuff into the VM, i.e. where configs, Vagrantfile and ansible scripts will all be mounted. MUST NOT END IN A SLASH (`/`) */ export const VAGRANT_MOUNT_POINT = "/vagrant"; /** * Where configs will be stored on the client */ // TODO: Move to shared folder so python can also access this export const VM_MOUNT_CONFIGS = VAGRANT_MOUNT_POINT + "/config"; /** * Where projects will be stored on the client */ // TODO: Move to shared folder so python can also access this export const VM_MOUNT_PROJECTS = VAGRANT_MOUNT_POINT + "/projects"; /** * VM Mount location of client config from controller ({@link ClientConfigHere}). * * Not to be confused with the client provisioning config */ export const VM_MOUNT_CLIENT_CONFIG = VM_MOUNT_CONFIGS + "/client.yml"; /** * Storage path for provision script, relative to root. */ // TODO: Move to a common package so Python also can access this export const PROVISION_CONFIG_STORAGE = "config/provision.yml"; /** Root where assets are stored */ export const ASSETS_ROOT = join(__dirname, "../assets"); ndex 640ab60..b392530 100644 ++ b/detectors/detector-desktop/controller/src/setup/client/newClient.tsa4da81e0015b7476b54d6ac173e04294bb7a702a