-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun 25 May 2014 09:40:40 AM UTC, Ganapathy S A via smartos-discuss wrote: > Hello, > > How to I send mail (a log file or source code or whatever but text > only) from SmartOS command line? And, how to copy the command line > text of SmartOS when it is run as a guest in Ubuntu host? > > Regards, > Ganapathy
The best way to get content on or off a SmartOS GZ (Global Zone), OS VM (local zone), or KVM (hardware virtual machine) is via SSH. SSH runs by default on Joyent-provided images so you just need to assign an IP. Adding persistent behavior (like SMTP) in the GZ goes against its intent and design and will likely put you in frustrating, yak-shaving territory. Jonathan Perkin has a very good article explaining the role of the Global Zone: http://www.perkin.org.uk/posts/smartos-and-the-global-zone.html I recommend using SSH and SCP for moving content on and off SmartOS boxes and their guests. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTg0KWAAoJEP0rIXJNjNSAVdgIAMuC3lkqjluCY6j1av1io5mQ 0LHNt0x4oiMtUnflThU1UDVfj/564mlCU7MkNaEGJldrPXVzHJIrXFlA+aQ4ARys NhA/ZN7iZburKEnwg8GSQaRMWn2YncmS0+4Q2UjA8s6v+MMIuiZlZQcO9+ZzRtCC hPcfDpzsAkGNkmemy7dGFdoWrY/j5LPbvJlC70vx7tlQJaM5UvPCxoGvDbNcafqT 8qdaWGQcV4sP6Wv3Z61wb4zXISOMclugNVm/WIBUItXEK25MoVQ1RRDPrPWZoU+p KB0rOE9qsSPTGLUM++5SAt6fg0iCA8dqWy3PgvtJCU/Q0sdkv58nTU42nNXs/Zc= =Uaru -----END PGP SIGNATURE----- ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
