diff options
Diffstat (limited to 'src/rest.c')
-rw-r--r-- | src/rest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1724,8 +1724,8 @@ static int og_set_client_mode(struct og_dbi *dbi, const char *client_ip, boot_cfg.ogserver = boot_params.server_ip; boot_cfg.ogrepo = boot_params.repo_ip; boot_cfg.ogrelivedir = boot_params.oglivedir; - boot_cfg.username = "opengnsys"; - boot_cfg.passwd = ogconfig.db.pass; + boot_cfg.username = ogconfig.smb.user; + boot_cfg.passwd = ogconfig.smb.pass; if (ogrelive_generate_grub2_file(&boot_cfg, mac) < 0) { syslog(LOG_ERR, "failed to create HTTP boot file (%s:%d)\n", __FILE__, __LINE__); |