summaryrefslogtreecommitdiffstats
path: root/src/rest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest.c')
-rw-r--r--src/rest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rest.c b/src/rest.c
index d2ca050..17878b0 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -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__);