Using VirtualBox - stuck on node bin/cli.js devices

67 views
Skip to first unread message

Stephen Gutknecht

unread,
Sep 8, 2014, 11:46:54 PM9/8/14
to svmp-...@googlegroups.com
$ node bin/cli.js devices

should this be showing the running VirtualBox device? The VM is running... I have the DHCP address, it's on my local LAN - and I can ping it. but cli.js devices shows nothing.

Thank you.

Stephen Gutknecht

unread,
Sep 9, 2014, 9:56:32 AM9/9/14
to svmp-...@googlegroups.com
I also tried:

$ node bin/cli.js vm-add alice 192.168.8.47
info: svmp.proxy version: 1.5.0
info: Mongoose:  connected to: mongodb://localhost/svmp_proxy_db_test

    Adding existing VM for  alice
    ERROR registering a vm for an IP  Cannot set property 'vm_ip' of null
info: Mongoose:  disconnected connection

Buttner, Jonathan E

unread,
Sep 9, 2014, 10:07:44 AM9/9/14
to Stephen Gutknecht, svmp-...@googlegroups.com

Hey Stephen,

 

Do you have any entries in your config-local.js file? They should be added here for manual setup:

 

        new_vm_defaults: {

            "images": {

                // Mapping of cloud image ID to a friendly name. These are the names used by the

                // configuration tool's add-user command.

                // each device type should have its own name and image ID in key/value format, e.g.:

                // "device_type": "imageID",

               

                “test_type”: “testID”,

            },

Try running node bin/cli.js devices after adding an entry like above.

--
You received this message because you are subscribed to the Google Groups "SVMP Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to svmp-users+...@googlegroups.com.
To post to this group, send email to svmp-...@googlegroups.com.
Visit this group at http://groups.google.com/group/svmp-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/svmp-users/132395c9-41d0-4bac-a1c9-d15f51e79da9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stephen Gutknecht

unread,
Sep 9, 2014, 10:48:14 AM9/9/14
to svmp-...@googlegroups.com, stephen....@gmail.com, jbut...@mitre.org
One step further... but it doesn't seem to recognize on the next step:


$ node bin/cli.js devices
info: svmp.proxy version: 1.5.0
info: Mongoose:  connected to: mongodb://localhost/svmp_proxy_db_test

Supported device types (settings.new_vm_defaults.images):
┌─────────────┐
│ Device Type │
├─────────────┤
│ test_type   │
└─────────────┘
info: Mongoose:  disconnected connection

$ node bin/cli.js add alice password test_type
info: svmp.proxy version: 1.5.0
info: Mongoose:  connected to: mongodb://localhost/svmp_proxy_db_test

  error: missing required argument `device_type'

$

To post to this group, send email to svmp...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages