{"action":"created","issue":{"url":"https://api.github.com/repos/joyent/smartos-live/issues/520","labels_url":"https://api.github.com/repos/joyent/smartos-live/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/joyent/smartos-live/issues/520/comments","events_url":"https://api.github.com/repos/joyent/smartos-live/issues/520/events","html_url":"https://github.com/joyent/smartos-live/pull/520","id":119569859,"number":520,"title":"Updated smartos_prompt_config.sh to address issues/519","user":{"login":"failedrequest","id":12305565,"avatar_url":"https://avatars.githubusercontent.com/u/12305565?v=3","gravatar_id":"","url":"https://api.github.com/users/failedrequest","html_url":"https://github.com/failedrequest","followers_url":"https://api.github.com/users/failedrequest/followers","following_url":"https://api.github.com/users/failedrequest/following{/other_user}","gists_url":"https://api.github.com/users/failedrequest/gists{/gist_id}","starred_url":"https://api.github.com/users/failedrequest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/failedrequest/subscriptions","organizations_url":"https://api.github.com/users/failedrequest/orgs","repos_url":"https://api.github.com/users/failedrequest/repos","events_url":"https://api.github.com/users/failedrequest/events{/privacy}","received_events_url":"https://api.github.com/users/failedrequest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T20:08:24Z","updated_at":"2015-12-01T21:01:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joyent/smartos-live/pulls/520","html_url":"https://github.com/joyent/smartos-live/pull/520","diff_url":"https://github.com/joyent/smartos-live/pull/520.diff","patch_url":"https://github.com/joyent/smartos-live/pull/520.patch"},"body":"\r\nThis is a minor change, we remove the use of SYSINFO_MiB_of_Memory and change\r\nto use a direct function to get the ram size. In some edge cases the  SYSINFO_MiB_of_Memory is empty and results in a failed install. "},"comment":{"url":"https://api.github.com/repos/joyent/smartos-live/issues/comments/161094655","html_url":"https://github.com/joyent/smartos-live/pull/520#issuecomment-161094655","issue_url":"https://api.github.com/repos/joyent/smartos-live/issues/520","id":161094655,"user":{"login":"failedrequest","id":12305565,"avatar_url":"https://avatars.githubusercontent.com/u/12305565?v=3","gravatar_id":"","url":"https://api.github.com/users/failedrequest","html_url":"https://github.com/failedrequest","followers_url":"https://api.github.com/users/failedrequest/followers","following_url":"https://api.github.com/users/failedrequest/following{/other_user}","gists_url":"https://api.github.com/users/failedrequest/gists{/gist_id}","starred_url":"https://api.github.com/users/failedrequest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/failedrequest/subscriptions","organizations_url":"https://api.github.com/users/failedrequest/orgs","repos_url":"https://api.github.com/users/failedrequest/repos","events_url":"https://api.github.com/users/failedrequest/events{/privacy}","received_events_url":"https://api.github.com/users/failedrequest/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T21:01:55Z","updated_at":"2015-12-01T21:01:55Z","body":"Robert\r\n  This is a doozie , I spent all day on debugging this and I finally found the root cause . In pxe booting the test rig I setup the ipxe menu file as follows.\r\n\r\n<pre>\r\n#!ipxe\r\n\r\n# SmartOS Root shadow is \"root\"\r\nset root_shadow '$5$2HOHRnK3$NvLlm.1KQBbB0WjoP7xcIwGnllhzp2HnT.mDO7DpxYA'\r\nset mac ${net0/mac}\r\n\r\nset boot_args \"-v -B console=ttya,destroy_zpools=true,smartos=true,unattended=true,admin_nic=${mac},admin_ip=dhcp,disks=all,pool_profile=mirror,root_shadow=${root_shadow}\"\r\necho \"Booting wiht: \" ${boot_args}\r\nkernel http://192.168.1.240:8080/smartos/current/platform/i86pc/kernel/amd64/unix ${boot_args}\r\ninitrd http://192.168.1.240:8080/smartos/current/platform/i86pc/amd64/boot_archive\r\nboot\r\n</pre>\r\n\r\nNote the quotes around the boot_args value. the quote was breaking both the -v option as well as the root_shadow which was somehow breaking the import of variables from /lib/sdc/config.sh  .\r\n\r\nOnce I removed the extra quotes and rebooted the issue resolved it self\r\n\r\n<pre>\r\n SmartOS Setup\r\n Verify Configuration                           http://wiki.smartos.org/install\r\n--------------------------------------------------------------------------------\r\nPlease verify your SmartOS Configuration. After this point the system will set\r\nup and all data on the disks will be erased.\r\n\r\n     Net               MAC        IP addr.         Netmask\r\n   Admin fc:15:b4:8f:4d:80            dhcp             N/A\r\n\r\nDNS Servers: (8.8.8.8, 8.8.4.4), Search Domain: longcount.org\r\nHostname: rangefinder\r\nNTP server: 0.smartos.pool.ntp.org\r\n\r\nIs this correct, proceed with installation? [y]:\r\nCreating pool zones...                                  done\r\nMaking dump zvol...                                     dump on /dev/zvol/dsk/zones/dump size 1024 MB\r\ndone\r\nInitializing config dataset for zones...                done\r\nCreating config dataset...                              done\r\nCreating global cores dataset...                        done\r\nCreating opt dataset...                                 done\r\nInitializing var dataset...                             done\r\nCreating swap zvol...\r\n\r\n Swapsize: 16343 vs 16343\r\n\r\n\r\n\r\n\r\n        zfs create -V 16343mb zones/swap\r\ndone\r\nSystem setup has completed.\r\n\r\nPress enter to reboot.\r\n</pre>"}}